The Debugging Process

   

Thanks for using this pre-release version of Visual J++.

The process of finding and fixing errors in your application is known as debugging. Visual J++ debugging support includes breakpoints, break expressions, watch expressions, thread control, and exception handling. You also have the ability to step through your code one statement or method at a time and view the values of variables and properties.

There are no magic tricks to debugging, and there is no fixed sequence of steps that works every time. Basically, debugging helps you understand whatÆs happening when your application runs. Debugging tools give you a snapshot of the current state of your application, including:

The topics listed below provide general information about the debuggerÆs features that will assist you in debugging your Visual J++ projects:

Note   Several topics in the following tables refer to features and procedures applicable to more than one product and are not written specifically for Visual J++. This will not prevent you from viewing these cross-product topics, however, when the location of these topics is displayed, they'll appear outside the Visual J++ table of contents.

General debugging topics:

Debugging Basics Continuing After an Error
Tips for Debugging Attaching and Detaching Processes
Pausing Application Execution with Breakpoints Setting Exception Handling Rules
Stepping Through Code to Trace Execution Ending a Debugging Session
Entering Break Mode at a Problem Statement Just-in-Time (JIT) Debugging

The integrated debuggerÆs windows:

Viewing Information in the Immediate Window Viewing Messages or Results in the Output Window
Viewing Information in the Locals Window Viewing Information in the Threads Window
Viewing Information in the Auto Window Viewing the Call Stack
Viewing Information in the Watch Window Viewing a List of Running Documents

Visual InterDev debugging topics:

Debugging Your Pages Debugging Script
Debugging Client Script The Script Debugging Process
Debugging Server Script Debugging Remotely
Debugging Mixed Client and Server Scripts Debugging Stored Procedures and Triggers
Debugging a Global.asa File