Summary of Debugger Commands

Introduction

This section contains a brief description of the DataBasic debugger commands, organized by function. Following this summary is a complete description of each command in alphabetical order.

All commands except G, $, A, ?, L, LD, LP, P, END and OFF require SYS2 privileges.

Breakpoint and Trace Tables

B Adds an entry to the breakpoint table.

D Display Break and Trace tables.

K Deletes (kills) breakpoint conditions from the breakpoint table.

T Toggles the display of the trace table or adds a new variable to be traced. The display is in character format.

U Deletes a variable from the trace table or deletes the entire table.

Execution Control

E Specifies number of program lines to execute between execution breaks.

G Resumes normal program execution until another execution break occurs.

M Toggles the option that causes a break whenever a program calls or returns from an external subroutine.

N Bypasses a specified number of breakpoints before returning to Debugger control.

@{*} Toggles whether DEBUG statements in the program cause an execution break.

WF{*} Toggles the option that treats warning messages as fatal errors.

WS Toggles the option that suppresses run-time warning messages.

Special Commands

/ Displays or changes variables and arrays during program execution.

$ Displays the program name and the line about to be executed.

? Displays the name of the program currently running.

A Displays the program name and the line about to be executed (synonym of $ command).

DE{BUG} Causes exit to the System Debugger.

L Lists source code lines from the program currently executing.

LD Switches Debugger output to terminal, printer, or both.

LP Toggles current PRINTER ON/OFF functionality, causing selection of PRINT statement output to spooler/screen to be toggled.

P Suppresses all output from the DataBasic program to the terminal, so that only Debugger output is displayed.

PC Forces printing of any data that is waiting to be output.

S Displays the internal and external subroutine return stack.

V Set number of source code lines to be displayed at each entry to debug.

W Lists source code lines from the program currently executing.

X Displays or changes variables and arrays during program execution.

Exiting the Debugger

END Terminates the program.

OFF Terminates the program and logs you off the system.