3 ms·
You can return back to the previous statements in any decent debugger instead of starting from scratch. And by default they don’t go inside third party librarie
by tigershark 7y ago
You can return back to the previous statements in any decent debugger instead of starting from scratch. And by default they don’t go inside third party libraries unless you specify that it’s what you want. What kind of debuggers were you using?
- oauea 7y ago> You can return back to the previous statements in any decent debugger That's a bit of a stretch. What debuggers are /you/ using?
- mcintyre1994 7y agoYou can move around the execution in the VS debugger - if you’re at a break point you can move execution earlier in that function etc. That’s the only debugger I’ve seen doing that though.
- seleniumBubbles 7y agoYou can also use the “restart stack frame” option in Chrome DevTools to move back to the beginning of any function currently being executed. So if you skip past something on accident, you can just restart the closest stack frame to bring you back.
- tigershark 7y agoVisual studio, rider, IntelliJ idea, eclipse, they can all do it, although the last two can only go to the last stack call instead of moving to the specific statement if I recall correctly.
- oauea 7y agoIntelliJ cannot step back to the previous statement as the JVM does not support this. Thus neither can Eclipse.
- tigershark 7y agoIt can discard the last stack frame, as I said in my edited comment.