Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.2 Online Documentation (MoTW) Revision 3

T command (DataBasic debugger) (m618706+t.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

T

Used with a variable name, specifies that the value of that variable should be displayed each time the program stops and enters the debugger.

Without a variable name, toggles whether the trace table is displayed on re-entry to debug.

Syntax

T{ variableName}

Syntax Element

variableName Specifies the variable to be traced. The named variable and its value will be displayed at each breakpoint.

A blank must be present between T and variable-name.

If variableName is omitted, the T command toggles the display of the trace table on re-entry to debug (default: on). The new state (On or Off) is displayed.

Operation

The values of the traced variables are shown in character format. The X command allows you to display the values in hexadecimal.

To display break points and traced variables, use the D command.

To delete a variable from the trace table, use the U command.

Example

:DEBUG TEST HIWRLD

D HIWRLD 1
*L*
1 > *VERSION 0001
2   HW = "HELLO WORLD"
3   PRINT HW
4   STOP
5
*T HW+
*E1
*G

E HIWRLD 2
 HW 
*G

E HIWRLD 3
 HW HELLO WORLD
*X HW 48 45 4C 4C 4F 20 57 4F 52 4C 44 =
*T Off

*G
HELLO WORLD
E HIWRLD 4
*G

:

RealityV15.2Revision 3Comment on this topic