This content has been marked as final. Show 2 replies
Using jdb or any other java debugger set a breakpoint at System.exit() and take a stack trace.
But is System.exit() always the last instruction executed? What happens when terminate() is called or a exception occures or whatever. I rather need a general way to get the last executed instruction (and a stack trace)...