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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -