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.
RealityV15.1Online Documentation (MoTW) Revision 7
DEBUG command (DataBasic) (m618704+debug.htm)
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 Summary of Debugger Commands for details of valid commands executable at the debug prompt (*).
DEBUG BP TEST
DEBUG TEST