Requirement:- Crash my MacOs laptop such that my crashes get collected in the /Library/Logs/DiagnosticReports folders. But the crash shouldn't hamper my laptop's performace.
I read that we had an approach to cause a kernel panic, but I'm really concerned about the state that this would put my device in. Any advice would be helpful, thanks.
It’s hard to answer this without a better definition of “Crash my MacOs laptop”. If you’re specifically referring to a kernel panic — see If your Mac restarts and a message appears from Apple Support — then there’s no way to safely do that. A kernel panic is unlikely to damage your hardware, but it definitely risks file corruption.
If you want to experiment with kernel panics, I recommend that you do that on a ‘victim’ machine, one that stores no data that you care about. I generally use a VM for this sort of thing.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"