Is there an option to take the stack pointer - or arrow in the debugger, backward and change the current execution line, as in visual studio.
Today I am using a "workaround" of modifying the source file. this will take me to the beginning of a method, but sometimes it is just not good enough.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The feature is called 'Drop to frame' right click on any line in stack, choose 'Drop to frame' and you go back to selected method beginning. Check Eclipse help topic.
回答2:
Sadly it is not possible to go back to a single line, the JVM does not support this. You can only jump to the start of the current function, as you propably know (Drop to frame).
回答3:
It's not out of beta yet, but Chronon is a promising debugger that has a "step back" feature.