SourcePoint Intel Help

Table of Contents

Debug Variables

There are two types of variables: control variables and debug variables.

Control variables are predefined variables in SourcePoint. ย See Control Variables for a list of these variables and links to their individual help topics.

Debug variables are defined by the user with the define command. ย They can be displayed with the show command, and removed with the remove command.

Debug variable types include integers, reals, strings, and pointers (for accessing target memory). Pointers to debug variables are not supported.

Debug variables arrays are supported (see Debug Variable Arrays). ย Debug variable structures are not supported.

Debug variable names are case sensitive. ย Names are of the form:

{Letter}[Letter | Digit]*

Where:

Digit ย ย ย ย ย ย [0-9]

Letter ย ย ย ย [a-zA-Z_@]

Examples:

define ord4 x1 = 100h ย ย ย ย ย ย ย // 32-bit unsigned integer variable

define int16 y ย ย ย ย ย ย ย ย ย ย ย ย ย ย // 16-bit signed integer variable

define nstring foo = โ€abcdโ€ ย // string variable

define ptr addr = 0x1000 ย ย ย ย // pointer variable into target memory

define nstring names[10t] ย ย ย // 10 element array of strings

define real8 percent = 0.4 ย ย // 64-bit floating point variable

define bool bEnable = false ย // Boolean variable