Previous Topic Next topic Print topic


To debug a core dump

  1. Click Run > Debug Configurations.
  2. Click COBOL Core Dump.
  3. Select the configuration you want or enter a name for a new configuration.
  4. 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.
  5. On the Source tab, ensure that the location of your source files is defined.
  6. On the Debug Symbols tab, specify the location of the COBOL symbol (.idy) files.
  7. 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.
Previous Topic Next topic Print topic