I just updated my VS2013, and the same code has different behavior in debug mode.
In VS2013, I had a debug exception violation that I received.
Some of them that can happen and are processed have been placed in a Try-catch block using DebuggerStepTrough:
Example:
[DebuggerStepThrough]
private void DoSomething(){
try{
throw new InvalidOperationException();
}catch(InvalidOperationException){
}
}
private void SomeEntryPoint(){
DoSomething();
}
I did not have this behavior in VS2013. Is there any way to avoid this?
(I have "Only my code" enabled)
source
share