VS中跳过所有断点的快捷键是什么?
当我处于断点时,如果我想忽略所有其余断点并继续前进,我应该使用什么快捷方式?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
您可以从调试菜单中选择“禁用所有断点”。
然后按 F5 继续。
您可以将其设置为工具/选项/键盘下的键盘快捷键。
You can select "Disable All Breakpoints" from the Debug menu.
This and then continue with F5.
You could set this up as a keyboard shortcut under Tools/Options/Keyboard.
那么,您可以:
禁用断点没有定义快捷方式,但您可以在环境 -> 键盘下的 -> 工具 -> 选项菜单中定义自己的快捷方式。 Shift+F5 也完全停止调试。
Well, you can:
Disabling breakpoints does not have a shortcut defined, but you define your own in ->Tools->Options menu under Environment->Keyboard. Also Shift+F5 stops debugging altogether.
Ctrl+Shift+F9 将全部删除。
要禁用所有断点 - 您可以从菜单中执行此操作 - 或者转到选项 ->环境->键盘,并在那里创建快捷方式。
Ctrl+Shift+F9 will delete them all.
To disable all breakpoints - either you do it from the menu - or you go to option -> environment -> keyboard, and create a shortcut there.
使用 Ctrl + F9 一次启用/禁用仅一个断点。
尽管光标必须位于给定的代码行上。
Enabled / Disabled just one break point at a time with Ctrl + F9.
Though the cursor has to be on the given line of code.
默认情况下,没有可用于禁用/启用所有断点的选项,因此您需要添加它。添加禁用/启用断点的步骤如下:-
在工具选项卡下选择自定义。
然后在命令选项卡下,您会发现3个选项(下拉菜单) - 菜单栏、工具栏和上下文菜单。
因此,在菜单栏下拉菜单下,向下滚动并选择选项调试。
现在在控件部分下,选择您需要添加的命令,即在此处选择命令启用所有断点/禁用所有断点,然后单击添加命令。
关闭此弹出窗口和繁荣,现在您可以在主控制台的调试部分下找到此选项。
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 :-
Under Tools tab select Customize.
Then under Commands tab, you would find 3 options(drop-downs) - Menu bar, Toolbar and Context menu.
So under Menu bar drop-down, scroll down and select option Debug.
And now under Controls section, select the command you need to add i.e here you would select command Enable All Breakpoints/Disable All Breakpoints and click Add Command.
Close this pop-up and boom, now you would find this option under Debug section of the main console.
删除所有断点的快捷键:CTRL+SHIFT+F9。
Shortcut to delete all break-points: CTRL+SHIFT+F9.