Reputation: 51063
In the last few weeks, I've had two occasions where the debug process (vshost.exe) crashes due to an unhanded exception. The first was trying to use the Activator class to instantiate an object, I don't remember details, and today was trying to load a custom config section where I had erred in specifying the type for the section. In both cases debugging proceeded correctly when I set the debugger to break when exceptions are thrown.
Anyone know anything about such an issue?
Upvotes: 0
Views: 52
Reputation: 754505
In order to diagnose this try the following
Then re-run your scenario. When Just My Code is enabled, exceptions thrown in code not deemed to be yours will not be immediately displayed in the debugger.
Upvotes: 1