Java 如何从 NetBeans 6.8 中删除所有断点?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2941415/
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
How can I remove all breakpoints from NetBeans 6.8?
提问by user354299
How can I remove all breakpoints from NetBeans 6.8?
如何从 NetBeans 6.8 中删除所有断点?
回答by Laramie
In 6.0 it was in the Window | Debugging menu.
在 6.0 中,它在窗口中 | 调试菜单。
You can right click then choose "Delete All".
您可以右键单击然后选择“全部删除”。
回答by Jesper
Select menu Window / Debugging / Breakpoints (or press Alt+ Shift+ 5), then right-click in the Breakpoints window and select Delete All.
选择菜单 Window / Debugging / Breakpoints(或按Alt+ Shift+ 5),然后右键单击 Breakpoints 窗口并选择全部删除。
回答by Joshua Dance
The top answer is how to permanently remove the breakpoints. You can also temporarilyremove all breakpoints by using Disable All instead of Delete All.
最佳答案是如何永久删除断点。您还可以使用 Disable All 而不是 Delete All 来临时删除所有断点。
Select menu Window / Debugging / Breakpoints (or press Alt+ Shift+ 5), then right-click in the Breakpoints window and select Disable All.
选择菜单 Window / Debugging / Breakpoints(或按Alt+ Shift+ 5),然后右键单击 Breakpoints 窗口并选择 Disable All。
Works in NetBeans 7.4 (and NetBeans 8)
适用于 NetBeans 7.4(和 NetBeans 8)
回答by sixtytrees
You have two options - disable and delete the breakpoints. Disable keeps the position of the breakpoint but debugger doesn't stop there delete removes the breakpoint completely. To delete breakpoints go to Window-> Debugger and select "Delete All".
您有两个选择 - 禁用和删除断点。Disable 保留断点的位置,但调试器不会在那里停止 delete 完全删除断点。要删除断点,请转到“窗口”->“调试器”并选择“全部删除”。
回答by Bizi
just to confirm that this answer works in Netbeans 8.1 (answer by YCF_L) Select menu Window / Debugging / Breakpoints (or press Alt + Shift + 5), then right-click in the Breakpoints window and select Disable All.
只是为了确认这个答案在 Netbeans 8.1 中有效(YCF_L 的回答)选择菜单窗口/调试/断点(或按 Alt + Shift + 5),然后在断点窗口中右键单击并选择全部禁用。
Works in NetBeans 7.4 (and NetBeans 8)
适用于 NetBeans 7.4(和 NetBeans 8)
回答by YhaLong
adding at the other responses, after go to the next rout: Windows/Debugging/Breakpoints (or Alt + Shift + 5), then right-click at the breakpoints window you can Disable or Delete one or more breakpoints. Disable all or Delete all, and select the option Go to the source and see where ie the breakpoint.
添加其他响应,然后转到下一个路径:Windows/Debugging/Breakpoints(或 Alt + Shift + 5),然后在断点窗口右键单击,您可以禁用或删除一个或多个断点。全部禁用或全部删除,然后选择选项转到源并查看断点的位置。
Have a nice day!
祝你今天过得愉快!
回答by Gregory Boon
Break points can also be deleted whilst debugging by selecting them in the breakpoints tab (next to the variables and call stack tabs) and then deleting with the delete button or mouse right click menu.
通过在断点选项卡(变量和调用堆栈选项卡旁边)中选择断点,然后使用删除按钮或鼠标右键单击菜单删除断点,也可以在调试时删除断点。