Save current debugger settings

WTSupported in traditional Synergy on Windows


USupported on UNIX
VSupported on OpenVMS
SAVE filename



The name of the file that will contain the debugger settings.


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 filename extension, the default extension 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.