- Enable core dump for your current session
chandra # ulimit -c unlimited
- Verify it is enabled
chandra # ulimit -c
unlimited
- Once you have a crash while running executable, check for core dump file.
chandra # ls -al core*
-rw——- 1 root root 50966528 Mar 26 14:57 core.7812
- Open your executable in kdbg. Then, import core dump file from File -> Core Dump.
You will see where the exe crashed and all memory and local variable goodies.
Posted under Linux
This post was written by Chirag on April 19, 2009
