Debugging a Program

-
Start Cosmo Code by typing cosmocode
at a shell prompt, or by double-clicking the desktop icon.
-
Double-click a project in the Project card to open it (or, choose
Project > Open... and specify the project directory and name.)
-
Click the Build button
to compile your Java program.
-
Set Breakpoints in the
Source panel or in the Breakpoints card.
-
Click the Run button
to run the program.
-
Click the Suspend button
to suspend execution for
the current thread, if you wish.
-
Examine your program's state using the callstack card, stepping through code, or viewing symbol values.
-
Click the Continue button
to resume execution of
the program.

Guide to the Cosmo Code Development Environment
12-96*007