Remember to save the macro under the default file name when you leave the
editor (use the "Z Z " or ":wq!" command in vi).
To save macros
• Select File→Store→User-Defined Macros....
The File Selection dialog box will be displayed so that you can choose a file in
which to save the macros. The debugger will automatically add a .com
extension to the file name.
The debugger will save all of the your user-defined macros to a file.
The debugger does not provide a way to save only selected macros. If you want
to save macros in separate files, you can create the macros using a text editor.
To load macros
• Select File→Load→User-Defined Macros....
Choose the macro file to load from the File Selection dialog box.
If macros do not load
Check that the macros do not directly access local program variables.
When the debugger loads macros which access local program variables, the
debugger does not know which local scope to use to define the macro.
Chapter 6: Using Macros and Command Files