Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Eclipse debugger support save/restore or checkpoint/rewind?

Tags:

java

debugging

What I mean is the following, illustrated via an example:

I start my Java application (which happens to be a simulator). The application runs for 1 hour and fails. I want to relaunch my application in debug mode, run it to minute 59, then start stepping through the code. At any point, I want to get back to the state that was present in minute 59 and re-start my debug.

Does Eclipse or some plugin have such support? If not, is there another open source application that can be used?

This can be accomplished by using a VM and simply saving state at the point of interest. But I'm wondering if there is a more native/faster Java solution.

like image 777
Victor Lyuboslavsky Avatar asked Aug 24 '12 19:08

Victor Lyuboslavsky


1 Answers

The only possible solution to do this in Java that I know is this debugger from Chronon http://www.chrononsystems.com/ which integrates with Eclipse IDE.

The idea is that you record a debugging session which let you playback it. Although this is non-opensource and licensed software, it's still a cool product.

like image 82
Peter Avatar answered Nov 04 '22 23:11

Peter