Advertisement

CORE

Started by April 06, 2002 07:33 PM
1 comment, last by gamechampionx 22 years, 9 months ago
What is that core file that keeps popping up in various places. Can I get rid of it or what?
Check out Drunken Brawl at http://www.angelfire.com/games6/drunken_brawl!
A core dump is an image of the memory held by a program when it crashed (or manually generated in some cases). It is used with debuggers (like gdb or dbx) to figure out what exactly got wrong. (Or in the case of a voluntary core, to restart the process later).

Yes, you can get rid of all your cores if you don''t care for debugging.
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan
Advertisement
You can set ulimit -Sc 0 to prevent coredumping completely. Some distros do this by default
(the S means Soft limit, i.e. you can raise the limit later if you need coredumps for debugging).

cu,
Prefect
Widelands - laid back, free software strategy

This topic is closed to new replies.

Advertisement