I want the debugger to stop when:
- A processed or unhandled exception is thrown.
- An unhandled exception occurs in a function that has the DebuggerStepThrough or DebuggerHidden attribute. The debugger should stop where this function is called.
While there is no problem, I could get Visual Studio 2015 to work like this. However, when an exception is thrown in a function with DebuggerStepThrough or DebuggerHidden , the debugger stops where this function is called.
I could not find a way to fix this. I do not remember this behavior in Visual Studio 2010 or 2013. I searched about it and did not find anyone who asked about the same problem.
Edit: I tried DebuggerNonUserCode , the result is the same. It says: "Exception thrown." No! 
My settings: 
c # visual-studio-2015 visual-studio-debugging
Koray Jan 31 '17 at 18:24 2017-01-31 18:24
source share