2.3.2 Resuming Sessions
To resume a previously saved session, select `File => Open Session' and
choose a session name from the list. After clicking on `Open', the
entire DDD state will be restored from the given session.
The session named `[None]' is the "default session" which is active
when starting DDD. To save options for default sessions, choose the
default session before exiting DDD. Note: Saving Options, for
If a the restored session includes a core dump, the program being
debugged will be in the same state at the time the session was saved; in
particular, you can examine the program data. However, you will not be
able to resume program execution since the process and its environment
(open files, resources, etc.) no longer exist. However, you can restart
the program, re-using the restored breakpoints and data displays.
Opening sessions also restores command definitions, buttons, display
shortcuts and the source tab width. This way, you can maintain a
different set of definitions for each session.
You can also specify a session to open when starting DDD. To invoke
DDD with a session SESSION, use
ddd --session SESSION
There is also a shortcut that opens the session SESSION and invokes
the inferior debugger on an executable named SESSION (in case SESSION
cannot be opened):
There is no need to give further command-line options when
restarting a session, as they will be overridden by the options saved
in the session.
You can also use an X session manager such as `xsm' to save and
restore DDD sessions.(1) When being shut down by a session manager, DDD
saves its state under the name specified by the session manager;
resuming the X session makes DDD reload its saved state.
---------- Footnotes ----------
(1) Requires X11R6 or later.
automatically generated by info2www version 22.214.171.124