Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to debug Linux core (dump) files with CLion?

Tags:

linux

core

clion

I couldn't find anything on the web and seems like it can be done with Windows, but nothing for Linux.

I want to be able to open a core dump file and debug it (using its sources and binaries) using CLion's debugger, same as you can debug with QtCreator. Is it possible? if not, does anyone know if they plan on adding this feature?

like image 431
ZivS Avatar asked Nov 07 '16 08:11

ZivS


People also ask

How do I debug a file in CLion?

For debug press Shift+F9 . To help you inspect the state of your code during debugging, CLion equips you with many useful shortcuts like Step over/into ( F8/F7 ), Step out ( Shift+F8 ), or Run to cursor ( Alt+F9 ).

Is core dump a debugging technique?

Core dump debugging is useful when you have a failing application in a production environment, and you don't have the COBOL development system installed. As long as you have access to the application's source files elsewhere, you can produce a core debug file and utilize it.

Does CLion have a debugger?

Debugger options CLion supports debugging C/C++ executables with GDB (either bundled or custom) on all platforms and with the bundled LLDB on macOS and Linux. Also, there is an LLDB-based debugger for the MSVC toolchain on Windows.


1 Answers

It appears this is available now in CLion 2020.3.

https://blog.jetbrains.com/clion/2020/11/clion-2020-3-eap-core-dump/

like image 58
Steve Lautenschlager Avatar answered Sep 18 '22 06:09

Steve Lautenschlager