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:
- Choose Debug > Debug Core File.
The Debug Core File dialog box opens.
- Select the local host or a remote host from the Host drop-down list.
To add a new remote host, click Hosts and define the new host in the
Remote Host Settings dialog box.
- 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.
-
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.
- By default, the Project text field displays either <no project>
or the name of an existing project that exactly matches the name of the
executable. If you want a different project associated with this executable,
select a project from the Project drop-down list. If you do not want
the executable associated with a project, select <no project> If you want a new project
created for the executable, select <create new project>.
-
Click Debug.
Legal Notices