|Title||Finding a Mac crash log|
|Author||Kerry Kammire, StataCorp|
When the Mac version of Stata crashes, a crash log is created in a special system folder. The location of this crash log varies depending on which version of OS X you are running:
Mac OS X 10.7 (Lion) and later: Crash logs are stored in the same location as they are in Snow Leopard, but the Library folder is hidden from normal view. The easiest way to get there is to hold down the Option key before clicking on the Go menu in the Finder's menu bar. The hidden Library folder will be shown in the list. Click on it to open it, then navigate into the ~/Library/Logs/DiagnosticReports/ folder to locate the crash logs.
Mac OS X 10.6 (Snow Leopard): A separate crash log file is created, just as in OS X 10.5. However, the crash log files are stored in the user's ~/Library/Logs/DiagnosticReports/ folder.
Mac OS X 10.5 (Leopard): Crash logs are stored in the same location, but multiple crashes are no longer written to a single file. Each crash is written to a uniquely named crash log file.
Mac OS X 10.4 (Tiger): All the crashes for a program are written into a single file. That file is in the user's ~/Library/Logs/CrashReporter/ directory. The file is named after the program, with .crash.log appended to the end.