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 appearance of your application’s user interface

  • Values of member variables, expressions, and properties

  • Active method calls

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:

The integrated debugger’s windows:

Viewing Information in the Immediate Window
Viewing Information in the Locals Window Viewing Information in the Threads Window
Viewing Information in the Auto Window
Viewing Information in the Watch Window

Visual InterDev debugging topics: