So, I keep running System.InvalidOperationExceptionsomewhere in my code.
It is very difficult to debug.
At any time, attach the debugger via VS2010 and run my code, when it gets to System.InvalidOperationException, the debugger is automatically detached, not broken.
I even went into debugging settings and explicitly forbade breaking it.
I'm not sure if it automatically detaches when an exception is thrown, thereby defeating the goal of debugging in the first place - the function " I need to disable it.
Any help would be appreciated.
source
share