Hacker News new | ask | show | jobs
by saagarjha 2218 days ago
MacsBug has a number of interesting features that are a bit above what you'd normally want from a CPU-level emulator, like setting breakpoints and being able to use debugging information. (Funnily enough, I'm taking a quick Hacker News break from implementing ptrace support in a CPU-level emulator, in part because trying to debug code without it means I need to keep Ghidra open and single-step code execution from the closest system call…)
1 comments

MacsBug also had a ton of MacOS-specific features, like transparent integration with the 68k emulator, the ability to display symbols for both application code and the system ROM, and a wide variety of tools for interacting with the Memory Manager and Resource Manager (including intrusive operations like compacting or purging memory).

It also had mouse support -- you could click any address on screen to view its contents and information about the memory region it was in, for instance -- and a menubar. :)

Macsbug won't run in the SheepShaver emulator, as it takes a number of shortcuts which are incompatible with MacsBug. It works fine under qemu-system-ppc, though!