# DEBUG

Updated: 10/19/2021, 9:29:48 PM
Created: 10/19/2021, 9:29:48 PM
Last Updated By: Kevin Munoz
Read Time: 1 minute(s)

Tags: jbase debugger

The DEBUG statement causes the executing program to enter the jBASE BASIC debugger. The statement takes the form

DEBUG
1

As can be observed below:

IF FatalError = TRUE THEN
    DEBUG ;*enter the debugger
END
1
2
3

# Note

It is also possible to start a program in DEBUG mode using the "-Jd" runtime option, see here for more details of debugging options.

Go back to jBASE BASIC

Go back to Programmers' Reference Guide