Using the mvBASIC Debugger

This section summarizes Debugger commands, and describes how to fix a program error (bug), along with performing other Debugger tasks. This section contains the following topics:

Debugger Commands: Quick Reference

Provides a summary listing of Debugger commands.

Fixing a Bug

Describes the process of fixing mvBASIC program errors.

A Sample Program

Provides a sample mvBASIC program in order to demonstrate several programming tasks.

Entering the Debugger

Describes methods to activate the Debugger, and basic Debugger startup functions.

Exiting the Debugger

Describes methods for shutting down the Debugger, and Debugger shutdown functions.

Displaying and Changing a Variable

Describes how to use the Debugger to determine which variables are being assigned incorrectly.

Accessing Source Code

Describes methods to identify and display a program’s source code, even if that code is contained in the data section of a file.

Using Breakpoints and Tracing

Defines and describes how to use breakpoints in mvBASIC programs.

Using Execution Control

Describes how to control the execution of an mvBASIC program while in the Debugger in order to facilitate problem diagnosis.

Printing Output

Describes how to use print commands in the Debugger to toggle program output, toggle line printing, and to spool output to the printer.

Using the Return Stack

Describes the function and use of the Debugger’s return stack.

See Also

mvBase mvBASIC User Reference Guide Overview

Syntax Notations

Introduction to mvBASIC

Creating mvBASIC Programs

Format, Data and Expressions

Overview of mvBASIC Statements and Functions

Statement and Function Reference

O/S Interoperability Commands

Appendix A: Error Messages

Appendix B: List Of ASCII Codes

Appendix C: mvBASIC Program Examples