开发者

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 ne开发者_运维问答ed to put breakpoint and debug through the application.

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜