after hotswap back to the beginning of the method?
Answered
In Eclipse, while debugging, I can edit the code and the IDE perform the hotswap. After the hotswap, Eclipse back the thread exection to the beginning of the method. This is very useful when I changind the code during the debug session.
Can IDEA do that too?
Thanks!
Please sign in to leave a comment.
You can use Force run to cursor: https://www.jetbrains.com/help/idea/stepping-through-the-program.html.
It seems Force run to cursor cannot back to the beginning of the method. When try to Force run to cursor, the execution is resumed.
And after the class reload, Variables debug info is not available anymore and I can't even step Step Over.
Now you need to drop frame and then step into again, please vote https://youtrack.jetbrains.com/issue/IDEA-68958 to automate that
Thank you @Egor! It was what I was looking for!