visual-studio 在VS中跳过所有断点的快捷方式是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1833855/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 11:16:40  来源:igfitidea点击:

What is the shortcut to skip all break-points in VS?

visual-studiobreakpointsshortcutignore

提问by pencilCake

When I am at a breakpoint and if I want to ignore all the rest of breakpoints and move on, what shortcut should I use?

当我处于断点时,如果我想忽略所有其余的断点并继续前进,我应该使用什么快捷方式?

回答by Matt

You can select "Disable All Breakpoints" from the Debugmenu.

您可以从“调试”菜单中选择“禁用所有断点” 。

This and then continue with F5.

这然后继续F5

You could set this up as a keyboard shortcut under Tools/Options/Keyboard.

您可以将其设置为Tools/Options/Keyboard下的键盘快捷

回答by Klaus Byskov Pedersen

Well, you can:

好吧,你可以:

  1. deleteall breakpoints using Ctrl+Shift+F9
  2. disableall breakpoints from the ->Debug menu.
  1. 删除全部采用断点Ctrl+ Shift+F9
  2. 从 ->Debug 菜单禁用所有断点。

Disabling breakpoints does not have a shortcut defined, but you define your own in ->Tools->Options menu under Environment->Keyboard. Also Shift+F5stops debugging altogether.

禁用断点没有定义快捷方式,但您可以在环境->键盘下的->工具->选项菜单中定义自己的快捷方式。另外Shift+F5完全停止调试。

回答by Dani

Ctrl+Shift+F9will delete them all.

Ctrl+ Shift+F9将它们全部删除。

To disable all breakpoints - either you do it from the menu - or you go to option -> environment -> keyboard, and create a shortcut there.

要禁用所有断点 - 您可以从菜单中执行此操作 - 或者您转到选项 -> 环境 -> 键盘,然后在那里创建一个快捷方式。

回答by Antoine Meltzheim

Enabled / Disabled just one break pointat a time with Ctrl + F9.

使用Ctrl + F9一次启用/禁用一个断点

Though the cursor has to be on the given line of code.

尽管光标必须在给定的代码行上。

回答by Amar HR

Shortcut to delete all break-points: CTRL+SHIFT+F9.

删除所有断点的快捷方式:CTRL+ SHIFT+ F9

enter image description here

在此处输入图片说明

回答by Sunish Chaudhary

By default there is no option available to Disable/Enable all breakpoints, so you need to add it. Steps to add Disable/Enable breakpoints are as :-

默认情况下,没有可用于禁用/启用所有断点的选项,因此您需要添加它。添加禁用/启用断点的步骤如下:-

1) Under Toolstab select Customize.

1) 在工具选项卡下选择自定义

2) Then under Commandstab, you would find 3 options(drop-downs) - Menu bar, Toolbarand Context menu.

2) 然后在命令选项卡下,您会找到 3 个选项(下拉菜单) -菜单栏工具栏上下文菜单

3) So under Menu bardrop-down, scroll down and select option Debug.

3) 所以在菜单栏下拉菜单下,向下滚动并选择选项Debug

4) And now under Controlssection, select the command you need to add i.e here you would select command Enable All Breakpoints/Disable All Breakpointsand click Add Command.

4) 现在在Controls部分下,选择您需要添加的命令,即在这里您将选择命令Enable All Breakpoints/Disable All Breakpoints并单击Add Command

5) Close this pop-up and boom, now you would find this option under Debugsection of the main console.

5) 关闭这个弹窗和boom,现在你会在主控制台的调试部分找到这个选项。

No need to thank, just an upvote would work..!! :P :P

无需感谢,只要点赞就可以了..!!:P :P