Notes:
It is best to keep core files disabled in normal use since you can easily use 100s of MB of disc space with core files.
Remember that Ctrl-\ only works on a command line for some command line programs; its generated in a similar way to Ctrl-C.
Core files can be useful when a program only crashes occasionally - and when you weren't expecting it!