Visual Studio: Cycling through breakpoints

≡放荡痞女 提交于 2019-11-27 14:41:41

问题


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.


回答1:


You can always open the breakpoints window (Ctrl + Alt + B) to cycle through them.




回答2:


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).

You may also be able to write a macro to do it if you want.




回答3:


I don't think there is a built in way of doing this. However you might want to take a look at this question. You can probably save the breakpoints for one bug and load it whenever you want it.



来源:https://stackoverflow.com/questions/943341/visual-studio-cycling-through-breakpoints

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!