| |||
| Home > Using Macros for Debugging > Using macros in combination with other commands > Attaching a macro to the GO command | |||
To invoke a macro that controls the action of the GO command enter, for example:
GO \DHRY_1\#149; my_macro()
In this example, the program runs until the temporary breakpoint
at line 149 in dhry_1.c is hit, which causes
the macro to run. The return value from the macro determines whether
the execution continues or stops.
the following in the RealView Debugger Command Line Reference Guide:
Alphabetical command reference for details of the GO command.