如何从 NetBeans 6.8中删除所有断点?

如何从 NetBeans 6.8中删除所有断点?

53476 次浏览

In 6.0 it was in the Window | Debugging menu.

You can right click then choose "Delete All".

Select menu Window / Debugging / Breakpoints (or press Alt + Shift + 5), then right-click in the Breakpoints window and select Delete All.

The top answer is how to permanently remove the breakpoints. You can also temporarily remove all breakpoints by using Disable All instead of Delete All.

Select menu Window / Debugging / Breakpoints (or press Alt + Shift + 5), then right-click in the Breakpoints window and select Disable All.

Works in NetBeans 7.4 (and NetBeans 8)

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

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.

Works in NetBeans 7.4 (and NetBeans 8)

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.

Have a nice day!

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.