Save a session's debug settings to a file.
idb session save [ session_file ]
session_file |
The name of the session file. If you include a relative path, the path is relative to $sessiondir. Default: If you do not specify this parameter, the session is stored in $sessiondir/idb_customizations.cmd |
This command saves a session's debug settings to a file.
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 saves the session to $sessiondir/lastsession.my.
(idb) idb session save lastsession.my
The following example saves the session to $sessiondir/../test.
(idb) idb session save ../test
The following example uses an absolute path to save the session to /tmp/test.my.
(idb) idb session save /tmp/test.my
Copyright © 2001-2011, Intel Corporation. All rights reserved.