MacroTrace command

From m204wiki
Revision as of 21:28, 6 June 2022 by Ekern (talk | contribs) (Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Starts or stops a display in the macro console of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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