- Qt Creator Documentation
- Load core files to the debugger
- Qt Creator 14.0.0-rc1

How To

# Load core files to the debugger

Use the core mode to inspect core files (crash dumps) that are generated from crashed processes on Linux and Unix systems if the system is set up to allow this.

To enable the dumping of core files on a Unix system, enter the following command in the shell from which the application is launched:

     ulimit -c unlimited

To launch the debugger in the core mode:

1. Go to Debug > Start Debugging > Load Core File.

2. In Kit, select a build and run kit that was used for building the binary for which the core file was created. If the core file stems from a binary not built by Qt Creator or a process not initiated by Qt Creator, select a kit that matches the setup used as closely as possible, in respect to the specified device, toolchain, debugger, and sysroot.
3. In Core file, specify the core file to inspect.
4. In Executable of symbol file, specify a file that has debug information corresponding to the core file. Typically, this is the executable file or a `.debug` file if the debug information is stored separately from the executable.
5. In Override start script, specify a script file to run instead of the default start script.
6. In Override SysRoot, specify the path to the `sysroot` to use instead of the default `sysroot`.

Even though using a properly configured project that has the sources of the crashed application is not strictly necessary, it is helpful.

See also How To: Debug, Debugging, Debuggers, Debugger, and Kits.

How To