Debugging and profiling in Linux
Here is a simple way to do post-mortem debugging for a program that crashes. First enable the saving of core files when program crashes by running the following command in shell before starting the program you want to test: ulimit -c unlimited When program crashes Linux creates core file named core to program running directory You →