本文介绍了Express 版本缺少调试->例外菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用.VS 2013 Express调试时,我需要在异常时自动停止.尝试遵循这一点.

I use. VS 2013 ExpressWhen debugging, I need to stop automatically on exceptions.try to follow this.http://msdn.microsoft.com/en-us/library/d14azbfh.aspx#AddExceptionsCommandIt 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 Exeptions

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

解决方案

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 neededIn my case the "PInvokeStackImbalance"

enter image description here

这篇关于Express 版本缺少调试->例外菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 14:43