Set next instruction in NetBeans IDE
Does NetBeans have something akin to "Set Next Statement/Inst开发者_如何学Goruction" when debugging in Java?
No, unfortunately. This is one feature from Visual Studio that I really miss, but you just deal with it...
How does 'Set Next Statement/Instruction' work?
You could set the cursor or a breakpoint to a specific line and resume debugging until this point via F4 or F5. Would this help?
Otherwise the keyboard is your friend:
- F7 == 'go into'
- F8 == 'next line'
- F5 == 'resume'
- F4 == run to cursor
- etc see the Debug-Menu-entry
There is the "Continue At" option, which, although nowhere near as good as VS's "Set Next Statement" can be quite useful. Not sure if this is available in Java, but it is in C++.
精彩评论