Is there a way to force-close any app at any time?

Hello everyone, I’m new to the 68K Mac. I’m trying to write code in the emulator, but my code crashes frequently. I don’t know how to force-quit an app stuck in an infinite loop, so I’m wondering if there’s a tool similar to `kill 9` in Linux that can force-quit an app. Thanks in advance.
 
click on the app that's stuck in an infinite loop, hit hold command (Apple) and option (alt), and press escape, you should see a dialog box that says "force quit 'app'?" click OK
 
click on the app that's stuck in an infinite loop, hit hold command (Apple) and option (alt), and press escape, you should see a dialog box that says "force quit 'app'?" click OK
Thanks, I'll give this a try. Is this at the system level, or does it depend on the application's event handling?
 
It sometimes works but sometimes it either freezes the machine or leads to weirdness later. I only ever use it to get a chance to save and reboot in an orderly fashion.
 
Yeah, remember the classic Mac OS doesn't have protected memory, so really if your program has crashed you should probably restart anyway, even if you successfully force quit.
 
Back
Top