Debugging the Current Program

Related Topics:

Debugging a Program New to Sun WorkShop Debug New Program Dialog Box

It's easy to start debugging the current program or a program previously run or debugged in Sun WorkShop. The current program name appears in the Debugging window header. If you just built a target, a program with the same name as the target (if it exists in the current directory) is the current program.

To debug a program debugged in this project:

To debug the current program -- the program at the top of the picklist:

Once your program is loaded, the Debugging window opens, indicating the state of your program. Typically, you want to set a breakpoint and then start the program running.