Ramesh
Ramesh

Reputation: 1752

Debugging the application in .net

I have a solution in .Net(C#) which have more than 40 project files.While I am running the application,it throws some exception some where. The problem here is I need to put breakpoint and debug through the application.

Is there anyway to findout the where the exception is thrown.Like inheriting the Exception class.

Upvotes: 0

Views: 43

Answers (1)

John Rasch
John Rasch

Reputation: 63435

Under the Debug menu in Visual Studio, select Exceptions... and check Thrown under Common Language Runtime Exceptions. This will break when any exception is thrown as opposed to just unhandled exceptions.

Upvotes: 4

Related Questions