It looks that OS X (10.6) does not generates codedumps by default.
Using the ulimit -c unlimited
is not a good solution because ulimit does set the limit in an environment variable. This will work only for console applications executed from the shell that executed ulimit. If you have a gui application this will not work.