VS2008: Breakpoints window gone while debugging?

对着背影说爱祢 提交于 2019-12-13 17:23:19

问题


This is probably silly but very frustrating.
Using VS2008 with a C++ project, when I'm working normally, the breakpoints window is visible and active but when I'm debugging it disappears and can't be shown. This is a problem if I want to edit the condition of a breakpoint while running. Pressing the breakpoints window button doesn't do anything and neither does pressing Ctrl+Alt+B

Does this happen to anybody else? It's a brand new install with Visual Assist and QT integration as extensions. same configuration with VS2005 doesn't have any problems.


回答1:


You may try to reset Visual Studio Layouts by launching Visual Studio with the following command line:

devenv.exe /resetuserdata

More info here on MSDN




回答2:


The solution was to export the settings using "Tools->Import and Export Settings" Then, using the same wizard, to reset the settings to the default and then when re-importing the saved settings file uncheck the "Windows Layout" item in the import list.
This allowed me to save all the my previous settings and reset only the windows layout and not the breakpoints window is finally visible.




回答3:


[Debug] -> [Windows] -> [Breakpoints]




回答4:


Go to Tools->Customize. Select Commands tab Click on the 'Rearrange Commands' button towards the bottom. Select 'Menu Bar' on the radio button at the top. In the drop down in front of it, select 'Debug | Windows'. Click the 'Add' button on the right, 'Add Command' prompt opens. select 'Debug' on the left, Breakpoints on the right and click 'OK' button. Now you should be able to see 'Breakpoints' in 'Debug->Windows' menu. Select it to pop the window up.




回答5:


There is a menu item Window->Reset Window Layout.



来源:https://stackoverflow.com/questions/632761/vs2008-breakpoints-window-gone-while-debugging

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