Finding the c# exception handler -


i'm writing complex c# code. i'm finding code throwing exception (noted in output window) debugger isn't breaking in. have exceptions sets break on user-unhandled clr exceptions.

since debugger isn't breaking in, assume there must try{} somewhere in call stack.

problem is, can't find it.

how find exception handler line of code that's throwing exception?

open exceptions window in visual studio. expand appropriate tree find exception being thrown , check "thrown" checkbox. next time exception thrown in debug mode (vice uncaught) debugger break.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -