visual-studio Visual Studio:循环通过断点
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/943341/
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
Visual Studio: Cycling through breakpoints
提问by tsps
Is there a shortcut to cycle through my breakpoints? I often lose track of the breakpoints when debugging a project. When I finish working with one bug, I have to reset my breakpoints for a new bug that I am about to solve. It would be handy to have a keystroke that would allow me to cycle through the breakpoints and disable ones I don't need and keep the ones I need.
有没有捷径可以循环我的断点?在调试项目时,我经常忘记跟踪断点。当我处理完一个错误时,我必须为我即将解决的新错误重置断点。有一个按键可以让我在断点之间循环并禁用我不需要的断点并保留我需要的断点会很方便。
回答by Dror
You can always open the breakpoints window (Ctrl+ Alt+ B) to cycle through them.
您可以随时打开断点窗口(Ctrl+ Alt+B通过他们)循环。
回答by Shane Powell
I don't believe you can.
我不相信你能。
You can display a list of all breakpoints and jump to them using the breakpoint view (Debug / Windows / Breakpoints).
您可以显示所有断点的列表并使用断点视图 (Debug / Windows / Breakpoints) 跳转到它们。
You may also be able to write a macro to do it if you want.
如果需要,您也可以编写一个宏来执行此操作。

