Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Express version missing Debug-> exceptions menu

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

  1. On the Tools menu, click Customize.
  2. The Customize dialog box appears.
  3. Click the Commands tab and, in the Menu bar list, click Debug.
  4. Click Add Command.
  5. In Categories in the Add Command dialog box, click Debug.
  6. In Commands, click Exceptions and then click OK.

But in stage 6, in Commands there is no Exeptionsenter image description here

Also I tried to remove Enable just my code, And it didn't work.

like image 429
jivangilad Avatar asked Jul 16 '14 08:07

jivangilad


People also ask

How do I view exceptions in the debugger?

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.

How to enable debugger to continue on user unhandled exceptions?

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....

How does the debugger handle errors in Visual Basic?

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.

How do I enable exceptions in Visual Studio Code?

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.


2 Answers

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

like image 50
Jonathan Reininger Avatar answered Oct 09 '22 09:10

Jonathan Reininger


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.

like image 2
BobHy Avatar answered Oct 09 '22 10:10

BobHy