I'm using Bash. I used ulimit -c unlimited
but the program still doesn't generate a core file. It may be due to the GUI debugger kicking in. I get the option to save the crash info to a file, but I really want a core file.
Edit: I just wrote a small non-gui program meant to crash, and it produced a core dump.