The Debugging Process

   

Visual J++ debugging support includes breakpoints, break expressions, watch expressions, thread control, and exception handling. You can also 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. 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 Ending a Debugging Session
Stepping Through Code to Trace Execution

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