关于如何删除Visual Studio断点的问题 [英] Question on how to remove a Visual Studio Breakpoint

查看:179
本文介绍了关于如何删除Visual Studio断点的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我有10个断点,我想清除一个但不是其他的9。



如果我切换我要删除的断点,下次重新启动应用程序时,它会复活。我知道永远摆脱它的唯一方法是清除所有的断点,我宁愿不要做,因为我将不得不重置其他9。



在任何VS版本中是否有更好的方法?

解决方案

断点的状态只有在您更改时暂时更改调试,它是一个多重断点。这实际上是Visual Studio的一个功能。请参阅 http: //connect.microsoft.com/VisualStudio/feedback/details/391642/permanently-remove-a-breakpoint-in-visual-studio-during-debugging



如果您没有调试,并且删除它,则不会回来。或者,正如其他人建议的,您可以使用断点管理窗口永久删除它。


Let's say I have 10 breakpoints and I want to clear one but not the other 9.

If I toggle the breakpoint on the one that I want to remove, it is resurrected the next time I restart the app. The only way that I know to permanently get rid of it is to clear ALL the breakpoints, which I would rather not do since I would have to reset the other 9.

Is there a better way in ANY VS version?

解决方案

The breakpoint's state is only temporarily altered if you change it while you're debugging and it's a multi-bound breakpoint. This is actually a feature of Visual Studio. See http://connect.microsoft.com/VisualStudio/feedback/details/391642/permanently-remove-a-breakpoint-in-visual-studio-during-debugging.

If you're not debugging, and you remove it, then it won't come back. Alternately, as others have suggested, you can remove it permanently using the breakpoint management window.

这篇关于关于如何删除Visual Studio断点的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆