Where are core dumps written on Mac?
On macOS, your crash dumps are automatically handled by Crash Reporter.
You can find backtrace files by executing Console and going to User Diagnostic Reports section (under 'Diagnostic and Usage Information' group) or you can locate them in ~/Library/Logs/DiagnosticReports
.
You can also check where dumps are generated by monitoring system.log
file, e.g.
tail -f /var/log/system.log | grep crash
The actual core dump files you can find in /cores
.
See also: