To Define A Macro Outside The Debugger; To Edit An Existing Macro - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Chapter 6: Using Macros and Command Files
Using Macros

To define a macro outside the debugger

1 Using a text editor on your host system, define the macro.
2 Save the macro definition in a command file (< filename> .com).
3 Start the debugger.
4 Load the command file into the debugger using the File Command command.
As the macro is loaded into the debugger, the macro processor parses the
macro, looking for syntax errors. If the macro definition contains no errors, it
is loaded into the debugger's symbol table.
If an error is detected, the macro processor reports the error and quits loading
the command file. The macro remains undefined.
The number of macros that you can define is limited only by the available
memory on your host computer system.

To edit an existing macro

• If you want to edit a macro attached to a breakpoint, select Edit Attached
Macro from the Code window pop-up menu.
Or:
1 Display the Macro Operations dialog box.
2 Select the macro you want to edit.
3 Click on the Edit button.
194

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents