Debugging during the Development Cycle with the Integrated Debugger

The integrated debugger assists in debugging applets and applications running in the IDE. It is a live debugger:  it always shows the exact current state of running programs.

The Integrated Debugger browser displays the following information:

From the Debugger, you can launch Inspectors to look at and modify variable values for suspended threads.

You can open the debugger manually while a program is running to inspect threads and variables. As well, the debugger will automatically open, with the current thread suspended, for any of several reasons:

Once the debugger is open and a thread is suspended you can work with the program in the following ways:

Using the debugger, you can optionally generate and view the class loading and initialization trace.

ngrelc.gif (533 bytes)
The Integrated Debugger

ngrelt.gif (466 bytes)
Opening the Debugger Manually
Suspending, Resuming, and Terminating Threads
Setting Breakpoints in Source Code
Configuring and Setting Conditions on Breakpoints
Setting Breakpoints in External Classes
Selecting Exceptions for the Debugger to Catch
Clearing and Disabling Breakpoints
Inspecting and Modifying Variable Values
Stepping Through Methods
Modifying Code while Debugging
Evaluating Expressions in the Debugger
Generating the Class Trace
Setting Debugger Options