Runs a program but enters the DataBasic symbolic debugger before executing the first line of the program, and on executing DEBUG statements within the program.
Note: Replaces the D option which was formerly used with the RUN command, and with cataloged programs, to enter debug.
DEBUG [file-specifier item-id || cataloged-program-name] {(options}
file-specifier The file containing the program to be run.
item-id The item containing the source code of the program to be run under debug.
cataloged-program-name
The name of the cataloged program to be run under debug.
The DEBUG command will accept the same options as the RUN command.
If an executable (platform-specific) item exists in the dictionary of the specified file, DEBUG will execute this item rather than any deliverable (platform-independent) item in the data section. For details of the different types of item generated by the compiler, refer to the description of the BASIC command.
Refer to The Debugger for details of valid commands executable at the debug prompt (*).
DEBUG BP TEST
DEBUG TEST