Tutorial Four: The Debugger

In this tutorial we will demonstrate use of the debugging subsystem of Forte For Java. We will use the completed code for one of the earlier tutorials - part three of Tutorial One, the advanced version of the Clock. The completed code for this tutorial (and all other tutorials) is included with Forte For Java, and can be found under Development/tutorial/ in the Forte For Java Explorer.

The Debugger allows you to set and remove breakpoints, watch variables, track the state of threads, and more. All of this can be done within the simple and intuitive graphical user interface.

Preliminary Setup:
Working with Breakpoints
The debugging session
Watching Variables

Threads

Under the threads tab of the Debugger window, the current state of all threads of the program are listed.

Ending the debugging session

To end a debugging session, select Debug | Finish Debugging from the Main Window, or use the keyboard shortcut SHIFT+F5.

Other Features

Beginning Prev