Load a session file to restore a session's debug settings.
idb session restore session_file
session_file |
The name of the session file. If you do not specify a path, the file is stored in $sessiondir. If you include a relative path, the path is relative to $sessiondir. Default: idb_customizations.cmd |
This command loads a session file to restore a session's debug settings.
If session_file includes an absolute path, the debugger does not use $sessiondir.
It is recommended that only experienced users use relative paths. Unless you have a specific reason to do otherwise, you should only provide a file name and not a path.
The following example loads the session file $sessiondir/lastsession.my.
(idb) idb session restore lastsession.my
The following example loads the session file $sessiondir/../test.
(idb) idb session restore ../test
The following example uses an absolute path to load the session file /tmp/test.my.
(idb) idb session restore /tmp/test.my
Copyright © 2001-2011, Intel Corporation. All rights reserved.