GET_INFO(DEBUG)
For an overview of the GET_INFO built-in, see the HELP topic GET_INFO.
The following strings can be used for parameter2 when parameter1 is the
keyword DEBUG:
Parameter 2 | Return Value (Parameter 1 is keyword DEBUG)
-------------------+------------------------------------------------+
"breakpoint" | String - Name of the first breakpoint.
| Returns TPU$_NONAMES if no
| breakpoint exists.
"examine" | Contents - The value of the variable named by
| of parameter3. Returns TPU$_NONAMES if
| variable no breakpoint exists. Note that you
| must specify a third parameter, of
| type string, naming the variable
| to be examined.
"line_number" | Integer - The breakpoint's line number,
| counting from the beginning of
| the procedure. Returns 0 if the
| breakpoint does not exist.
"local" | Variable - First local variable in the previous
| procedure; specifies that "next" or
| "previous" will refer to locals;
| 0 - If no more local variables
"parameter" | Parameter - First parameter of the previous
| procedure; specifies that "next"
| and "previous" will refer to
| parameters;
| 0 - If no more local parameters
"next" | Parameter - Next parameter in parameter list
| Variable - Next local variable as declared
| Breakpoint- Next breakpoint
| 0 - End of list has been reached
"previous" | Parameter - Previous parameter in parameter list
| Variable - Previous local variable as declared
| Breakpoint- Next breakpoint
| 0 - Beginning of list has been reached
"procedure" | String - The name of the procedure containing
| the current breakpoint.
-------------------+------------------------------------------------+