nuBASIC IDE‎ > ‎


The integrated debugger, together with advanced text editor with syntax highlighting, auto-completion, and error checking, provides a development tool that makes solving non-trivial coding issues easier and supports more accurate and efficient code development.

Debugging Menu

You can easily access to the debugging commands from a drop down menu.

Debugging commands allow you to follow your code line by line, with debugging actions by using step-by-step execution, breakpoints. You can also inspect complex nuBASIC expressions dynamically.

Build Program


nuBASIC interpreter builds the program meta data used for subsequent executions.

This command is performed automatically first time you start application and if you have modified it before further executions.

Start Debugging


When you choose Start Debugging on the Debug menu, nuBASIC IDE launches the program with the debugger attached. Execution continues until a breakpoint is reached, you manually suspend execution via CTRL+C, an exception occurs, or the program ends.

Continue Debugging


You can resume execution of the program by choosing an execution command like Continue



One of the most common debugging procedures is stepping.

Stepping is executing code one line at a time.

When you have halted execution, such as running the debugger to a breakpoint, you can use three Debug menu commands to step through code.

If the line contains a sub call, Step executes only the call itself, then halts at the first line of code inside the procedure. Otherwise, Step executes the next statement.

If the line contains a function call, Step executes the called function, then halts at the first line of code inside the calling function.

Evaluate selection (Data-Tips)


Data-Tips are one of the most convenient tools for viewing information about the variables and expressions in your program during debugging.

When the debugger is in break mode, you can view the value of a variable within the current scope by selecting the variable or the expression in a source window and activating the Data-Tip by using this command or pressing F11.

Start without Debugging


It starts the program without the integrated debugger attached.

If you press CTRL+C when program running, you can stop the interpreter execution and a CLI prompt is show. See CLI section of this Guide for more information about it.

Toggle Breakpoint


Enable or disable a breakpoint.

When the breakpoint has been set, it is represented by a red circle in the gray bar to the left of the statement.

Delete all Breakpoints

Remove any breakpoint previously set

Go to Program Counter

Show the next line that will be execute in case of resuming program execution

Go to Procedure

Move the cursor to the entry-point of the procedure selected from sub-menu shown when this item is selected. The sub-menu shows all the functions and procedures of the program. This sub-menu is generating dynamically whenever code is rebuilt

Debug Window topmost

Places debug window above all non-topmost windows. The window maintains its topmost position even when it is deactivated.

Debug Window no-topmost

Places debug window above all non-topmost windows (that is, behind all topmost windows).