In This Book

Core File Debugging

When your program is ￿rst loaded, the PC is set to the line that caused the core dump. The stack and all variables are as they were when the program was about to execute that line. Here are some useful actions that can help to locate problems:

Examine the line in the Source File Edit Area that was responsible for the core dump to see if there is an obvious problem.

Enter a local or global variable in the ( ): Input Box, then select 4Print ( )5 to examine its value. Check for a value out of range.

Choose Show:Stack to look at the procedure call stack. Check values of passed parameters to see if the problem originated earlier in your program.

Choose Show:Assembly Instructions , and examine CPU registers or assembly instructions to get a low-level view of your program (see \Assembly Level Debugging").

8

Debugging in Special Situations 8-3