Debugging a Core File

If your program is crashing, you might want to debug the core file (the memory image of your program when it crashed).

It is best to debug the core file in the same operating environment in which it was created. The debugger has limited support for the debugging of "mismatched" core files (for example, core files produced on a system running a different version or patch level of the SolarisTM Operating System). For more information, see Debugging Mismatched Core Files.

To load a core file into the debugger:

  1. Choose Debug > Debug Core File.

    The Debug Core File dialog box opens.

  2. Type the path name of the core file in the Core File text box, or click the Browse button and use the Select Core File dialog box to select the core file.
  3. If the debugger cannot associate the core file you specified with an executable, the Select Executable dialog box opens so that you can specify the executable. If this occurs, type the path name of the executable in the Executable text box, or click the Browse button and use the Executable dialog box to select the executable.
  4. Click Debug.

Legal Notices