Search code examples
javaeclipseeclipse-plugin

How to store debug variables in Eclipse?


I want to store debug variables while using a breakpoint and restore them regardless of the application. I probably need some plugin to let me serialize variables and restore them anytime.

To be more specific I want:

  1. breakpoint
  2. see variables, store them
  3. let the flow go further
  4. restore variables and view them in a convenient way (maybe in debug, but not while debugging) and compare variables with my application's view tier

ps. I was trying to find some plugin, but without results.

thanks


Solution

  • I completetly agree with stacker, to answer for your next question about expand all it's very hard to implement for eclipse guys - regarding to this

    One risk is the difficulty of dealing with self-referencing structures, because application have to expand them only one time. There may be variable A which has a reference to B; and there may be a variable B which has a reference to A. This kind of problems -seem- can easily solve by a set, however this isn't the best approach. Another risk may be the quantity of the features I proposed. I think it would be better to withdraw some of these. I published them here, because I couldn't determine which.