禁用所有断点后启用选定的断点 (Visual Studio c++ 2010)

发布于 2024-12-05 15:07:45 字数 176 浏览 1 评论 0原文

有没有办法暂时禁用所有活动断点,然后仅重新启用那些先前启用的断点。举一个简单的例子,假设我有以下 5 个断点:

1、3、5 已启用 2,4 被禁用

现在我禁用所有断点,稍后,我只想启用 1,3,5。

如果我选择“禁用所有断点”然后“启用所有断点”,那么1、2、3、4、5个断点都会启用吗?

Is there a way to temporarily disable all active breakpoints and then renable only those breakpoints which were previously enabled. To give a quick example, suppose I have the following 5 breakpoints:

1,3,5 are enabled
2,4 are disabled

Now I disable all breakpoints and little later, I want to enable only 1,3,5.

If I choose "Disable all breakpoints" and then "enable all breakpoints", all of 1,2,3,4,5 breakpoints are enabled?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

墨洒年华 2024-12-12 15:07:45

可以按如下方式完成:

  1. 导出与当前搜索条件匹配的所有断点 = 在 Breakpoints 窗口中单击带有蓝色软盘的图标
  2. 禁用所有断点
  3. 从文件导入断点 = 在 Breakpoints 中 窗口中单击带有蓝色箭头的图标

这也将恢复断点的启用/禁用状态。

It can be done as follows:

  1. Export all breakpoints matching the current search criteria = in the Breakpoints window click on the icon with a blue diskette
  2. Disable all breakpoints
  3. Import breakpoints from a file = in the Breakpoints window click on the icon with a blue arrow

This will restore breakpoints with the enable/disable state as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文