SAVE
Save current debugger settings
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
|
SAVE filename
Arguments
filename
The name of the file that will contain the debugger settings.
Discussion
The SAVE command enables you to save the current debugger state to a file. The debugger state includes breakpoints, watchpoints, option settings, and ELB names. The name of each ELB that is opened via the OPENELB debugger command is written to the file before any other debugger commands.
Once you’ve saved your debugger settings to a file, you can specify the name of this file as the initialization file for the debugger, which enables you to associate a set of debugger commands with a project and invoke those commands every time you restart the debugging session.
If you don’t specify a file extension, the default is .cmd on Windows and Unix or .com on OpenVMS. The saved file contains all debugger commands for the current setting state in the debugger, including the WATCH, BREAK, and SET commands.
You can restore the saved debugger commands by executing the @filename debugger command or setting the DBG_INIT environment variable to the name of the file before invoking the debugger.