MacroTrace command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:


{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="775px"|
<span class="f_Para">Starts or stops a display in the [[Using the console and command line#The Console|macro console]] of a trace of all macro statements in your debugging session. </span>
<span class="f_Para">Starts or stops a display in the [[Using the console and command line#The Console|macro console]] of a trace of all macro statements in your debugging session. </span>



Latest revision as of 17:11, 2 February 2023

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