Express版本缺少Debug-> exceptions菜单

jiv*_*lad 6 visual-studio-express visual-studio visual-studio-2013

我用.VS 2013 Express调试时,我需要自动停止异常.试着按照这个. http://msdn.microsoft.com/en-us/library/d14azbfh.aspx#AddExceptionsCommand 它说我需要在Debug菜单中添加Exceptions命令

  1. 在"工具"菜单上,单击"自定义".
  2. 将出现"自定义"对话框.
  3. 单击"命令"选项卡,然后在"菜单栏"列表中单击"调试".
  4. 单击添加命令.
  5. 在"添加命令"对话框的"类别"中,单击"调试".
  6. 在"命令"中,单击"例外",然后单击"确定".

但是在第6阶段,在命令中没有Exeptions在此输入图像描述

此外,我试图删除启用只是我的代码,它不起作用.

fab*_*aby 0

The exceptions menu isn't shown in Visual Studio Web Developer Express. It is only shown in Visual C# Express.

You can however break on all exceptions. You can try to turn off "Just My Code" debugging, which will catch exceptions thrown in CLR code and linked libraries.

To do this, open Tools -> Options -> Debugging -> General, and uncheck "Just My Code" (or Enable Just My Code).

if it doesn't work try

Debug -> Exceptions -> Common Language Runtime Exceptions - check "when thrown"
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述

if you don't see exceptions try to change your settings following this guide

Refer here for documentation.

update

if it still not working try this

Tools menu >> Import and Export Settings >> Reset all settings. Then choose C# Development Environment. 
Run Code Online (Sandbox Code Playgroud)

  • 问题是我没有“调试”->“异常”,因为它是 Express 版本(正如这个问题的标题所示) (2认同)