After exiting a debug session for a process using the source window, the next time a user wants to debug the same process they must re-enter the variable watches and all other debugging infromation they were using in their previous session. it would be nice to be able to save this info somewhere(maybe in ~/.frysk/path-to-proc or some such.)
frysk-gui/frysk/gui/srcwin: 2007-04-27 Adam Jocksch <ajocksch@redhat.com> * SourceWindow.java (hide): Added, used as a hook for cleanUp. (hideAll): Ditto. (cleanUp): Added, all housekeeping tasks that should be done before the window closes should be added here. (saveDebugInfo): Added, will save the debugging information such as variable traces, breakpoints, etc. to disk when the source window closes.
Implemented basic variable trace saving: frysk-gui/frysk/gui/srcwin: 2007-04-30 Adam Jocksch <ajocksch@redhat.com> * SourceBuffer.java (getVariable): Now saves file and line number info into the variable. * SourceWindow.java (saveDebugInfo): Added code to output the document. (createDebugInfoPath): Added, refactored out of saveDebugInfo. * VariableWatchView: Now implements SaveableXXX. (shouldSave): Added. (saveVariable): Added, called from save(). frysk-core/frysk/value: 2007-04-30 Adam Jocksch <ajocksch@redhat.com> * Variable.java (filePath): Added, this is a temporary measure until I am sure this is the correct way to keep track of the file/line no that a variable is found at. (lineNo): Added, same as above. (getFilePath): Added. (getLineNo): Added. (setFilePathXXX): Added, this is VERY temporary as we should not be allowing people to change this. (setLineNoXXX): Ditto.