Calypoter
Calypoter

Reputation: 155

Visual studio doesn't debug on crash

I have a solution with 3 projects. 1 class library, 1 ASP.net web project and 1 Console application.

The class library and the console app were added after the asp.net web site. The Console application is the startup project.

I have now the problem that when the app crash it doesn't show me where it crashed in visual studio. The debugger is attached.

How can I make Visual Studio to show me where the app crashed?

Upvotes: 4

Views: 1439

Answers (1)

TheDevOpsGuru
TheDevOpsGuru

Reputation: 1580

In Visual studio, if you select Ctrl+Alt+E you should select each exception that appears in the "Exceptions" box, this should get your code to hit the line that is throwing the exception. If Ctrl+Alt+E doesn't work, just go to Debug->Exceptions in the menu.

And make sure you are running your application in DEBUG mode. Good Luck!

Upvotes: 3

Related Questions