To debug a core dump
-
Click
.
-
Click
COBOL Core Dump.
-
Select the configuration you want or enter a name for a new configuration.
-
On the
General tab, enter the following information:
- COBOL Project
- The project that will be used while debugging.
- Core Dump File
- Enter the location of where a core dump is stored. If you only specify the directory, and no core dump filename, Eclipse will prompt you for the filename when the debugger starts. The filename is
cblcore by default, but you can change this using the run-time tunable core_filename.
- Working Directory
- Identify a working directory. You can set this automatically to whichever directory you chose to store the core dump file.
-
On the
Source tab, ensure that the location of your source files is defined.
-
On the
Debug Symbols tab, specify the location of the COBOL symbol (.idy) files.
-
Click
Debug.
When the core dump file has been loaded, the Debug perspective is displayed, enabling you to see the state of the application at the point the core dump was created. The statement that was being executed is highlighted in an editor and the call stack is displayed in the Debug view. Execution functions such as the step and resume functions are disabled as the application is not actually running.