Enable core dump in mac

enable core dump in mac, you need these commands

defaults write com.apple.finder AppleShowAllFiles TRUE

The core dump files are in /cores by default

read count : 495