CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Core dump debug

Last modified: 07 June 2021

OS: macOS / Linux

Debugger: bundled LLDB / bundled GDB / toolchain's GDB / custom GDB

CLion supports postmortem debug with code dump files. These files are copies of process memory captured by the system at the point the program crashed or otherwise terminated abnormally.

Since the only available data is a memory snapshot for the time of a crash, stepping through the program is not possible, but you can investigate the corresponding source code, frames, and variables. Memory view, disassembly view, and debugger console can be used as well.