TRACE

Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4 Armite F4 ArmiteH7 Picomite CMM2

Syntax:
TRACE LIST nn
TRACE ON
TRACE OFF

Description:

TRACE ON/OFF will turn on/off the trace facility. 
This facility will print the number of each line (counting from the beginning of the program) in square brackets as the program is executed. 
This is useful in debugging programs.

TRACE LIST will list the last 'nn' lines executed in the format described above. 
MMBasic is always logging the lines executed so this facility is always available (ie, it does not have to be turned on).

 

Last edited: 29 September, 2020