Printing Output

The Debugger uses print commands to toggle program output, toggle line printing, and to spool output to the printer.

Toggling Program Output (P)

The P command toggles printing of output from the program. If P is toggled OFF, only output from the Debugger will be printed; the output from the program execution will not be shown. When output is disabled with the P command, the word OFF is printed; when it is re-enabled, the word ON is printed. The default setting is ON.

Toggling Line Printing (LP)

The LP command toggles printing of Debugger output on the line printer. If LP is toggled ON, output from the Debugger will be directed to the printer. When line printing is enabled with the LP command, the word ON is printed; when it is disabled again, the word OFF is printed. The default setting is OFF.

The LP command is an equivalent to the PRINTER ON and PRINTER OFF statements in mvBASIC.

Close the Printer (PC)

The PC command spools the Debugger printer output to the printer. The PC command in the Debugger is an equivalent of the PRINTER CLOSE statement in mvBASIC. All Debugger output held for the printer will be sent to print immediately, rather than after the program is completed.

See Also

Using the mvBASIC Debugger

Debugger Commands: Quick Reference

Fixing a Bug

A Sample Program

Entering the Debugger

Exiting the Debugger

Displaying and Changing a Variable

Accessing Source Code

Using Breakpoints and Tracing

Using Execution Control

Using the Return Stack