16.5. Editing a macro

You can edit a macro definition to fix any problems in the macro or modify the behavior of the macro.

To edit a macro that you have created:

  1. Select Tools → Add/Edit Debugger Macros... from the Code window main menu to open the Add/Edit Macros dialog box.

  2. Select the macro to be edited from the Existing Macros display list.

  3. Click Show to see the contents of the macro.

  4. Change the macro name and arguments, if required.

  5. In the Macro Entry Area, change the macro definition as required.

  6. Click Update to update the macro definition in the symbol table.


    The updated macro is moved to the bottom of the Existing Macros list.

  7. Click Save... to save the updated macro in the same location.

    This generates a prompt to enable you to Append or Replace the existing file.

  8. Click No to replace the existing script file.

  9. Click Close to close the Add/Edit Macros dialog box.


Remember to save your macros before you exit RealView Debugger. There is no warning if any macro definitions are unsaved when you exit RealView Debugger.

See also:

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N