MacroTrace command

From m204wiki
Revision as of 16:07, 6 December 2022 by Ekern (talk | contribs)
Jump to navigation Jump to search
Action:

Starts or stops a display in the macro console of a trace of all macro statements in your debugging session.

Syntax:

macroTrace [ on | off ] 

where:

  • on indicates that macro lines will be traced until turned off withmacroTrace off.
  • off turns off macroTrace, if it is on.

Note: When macroTrace is turned on, the trace output is produced only if the macro console is open.

This is an example of macro trace output:

>>>macroTrace: step   >>>macroTrace: assert %i = 1  >>>passed...  >>>macroTrace: run  >>>macroTrace: step  >>>macroTrace: assert %i = 2  >>>passed...  

Note that the trace includes the pass or fail status of assert commands, and it includes syntax help if commands have syntax errors.

Client menu: --
Introduced: Build 50