I use. VS 2013 Express When debugging, I need to stop automatically on exceptions. try to follow this. http://msdn.microsoft.com/en-us/library/d14azbfh.aspx#AddExceptionsCommand It says I need to add Exceptions command to the Debug menu
But in stage 6, in Commands there is no Exeptions
Also I tried to remove Enable just my code, And it didn't work.
You can find specific exceptions by using the Search window in the Exception Settings toolbar, or use search to filter for specific namespaces (such as System.IO). If you select an exception in the Exception Settings window, debugger execution will break wherever the exception is thrown, no matter whether it's handled.
Tell Debugger to Continue on User Unhandled Exceptions 1 In the Exception Settings window, open the shortcut menu by right-clicking a column label, and then select Show Columns... 2 To change this setting for a particular exception, select the exception, right-click to show the shortcut menu, and... See More....
In a Visual Basic application, the debugger manages all errors as exceptions, even if you use On Error-style error handlers. The debugger can break execution at the point where an exception is thrown, so you may examine the exception before a handler is invoked.
In the Exception Settings window ( Debug > Windows > Exception Settings ), expand the node for a category of exceptions, such as Common Language Runtime Exceptions. Then select the check box for a specific exception within that category, such as System.AccessViolationException.
Just a FYI ---
Im am using VS Express 2010 (VB) and didn't see the debug exceptions. Based on the screen shot above I just pushed CRLT-ALT-E and it opened.. (!)
Its a bit unclear to me, if VB 2010 Express has this option or not, or how to unhide it, but the key click combo opened it.
I was then able to turn off the option I needed In my case the "PInvokeStackImbalance"
enter image description here
Another user has reported the missing 'exceptions' on the 'debug' menu to Microsoft and actually got an acknowlegement from Microsoft (though not from the product team and not confirmation that it is a bug).
https://connect.microsoft.com/VisualStudio/feedback/details/882780/exceptions-comman-missing-in-vs-2013-express-for-web
For what it's worth, you can add your vote to this report at that site; I'm experiencing this problem and I have done so too.
Here's a potential work-around: the 'exceptions' is present in the Visual Studio Express for Desktop. And you can install that edition side-by-side with Web edition. If you can figure out a way to invoke your project executable from the debugger in the Desktop edition, you'd have control over exceptions there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With