MacroTrace command: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Starts or stops a display in the macro console of...") |
No edit summary |
||
Line 4: | Line 4: | ||
|width="50%"| '''Action:''' | |width="50%"| '''Action:''' | ||
|width="50%"| | |width="50%"| | ||
<span class="f_Para">Starts or stops a display in the [[ | <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">Syntax: </span> | <span class="f_Para">Syntax: </span> | ||
Line 19: | Line 19: | ||
<span class="f_Para">This is an example of macro trace output: </span> | <span class="f_Para">This is an example of macro trace output: </span> | ||
<p class="syntax"> | <p class="syntax"> | ||
<span class="f_CodeExample">>>>macroTrace: step </span | <span class="f_CodeExample">>>>macroTrace: step </span> | ||
<span class="f_CodeExample">>>>macroTrace: assert %i </span><span class="f_=XmpPrintTable">=</span><span class="f_CodeExample"> 1 </span | <span class="f_CodeExample">>>>macroTrace: assert %i </span><span class="f_=XmpPrintTable">=</span><span class="f_CodeExample"> 1 </span> | ||
<span class="f_CodeExample">>>>passed... </span | <span class="f_CodeExample">>>>passed... </span> | ||
<span class="f_CodeExample">>>>macroTrace: run </span | <span class="f_CodeExample">>>>macroTrace: run </span> | ||
<span class="f_CodeExample">>>>macroTrace: step </span | <span class="f_CodeExample">>>>macroTrace: step </span> | ||
<span class="f_CodeExample">>>>macroTrace: assert %i </span><span class="f_=XmpPrintTable">=</span><span class="f_CodeExample"> 2 </span | <span class="f_CodeExample">>>>macroTrace: assert %i </span><span class="f_=XmpPrintTable">=</span><span class="f_CodeExample"> 2 </span> | ||
<span class="f_CodeExample">>>>passed... </span> | <span class="f_CodeExample">>>>passed... </span> | ||
</p> | </p> |
Revision as of 16:07, 6 December 2022
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:
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 |