MacsBug

From Free net encyclopedia

Revision as of 19:55, 5 April 2006; view current revision
←Older revision | Newer revision→

{{Infobox Software | name = MacsBug | logo = Image:MacsBug.png | screenshot = | caption = | developer = Apple Computer | latest_release_version = 6.6.3 | latest_release_date = 2000 | latest_preview_version = | latest_preview_date = | operating_system = System 7, Mac OS 8, Mac OS 9 | platform = Motorola based Apple Macintoshs | genre = debugger | license = | website = Apple's MacsBug page }} MacsBug is a low-level debugger for pre-Mac OS X Apple Macintosh computers. MacsBug is an acronym for Motorola Advanced Computer Systems Debugger, as opposed to Macintosh debugger. The original version was developed by Motorola as a general debugger for its 68000 systems - it was ported to the Mac as a programmer's tool early in the project's development.

MacsBug is a assembly language/machine-level debugger that could be invoked by hitting the Macintosh's "Programmer's Key" or, as it became later known, the "Interrupt Key" or by pressing "Command-Power". MacsBug offers many commands for disassembling, searching, and viewing data as well as control over processor registers.

Users that stumble into MacsBug by accident need only to enter G and press return to escape from MacsBug; however, Macsbug is not installed by default, requiring a system extension, so a typical user environment does not include it.

The presence of MacsBug is indicated at startup; it is present if the user sees the text Debugger installed.

MacsBug was originally for the Motorola 68000 series of processors only. When Apple introduced the Power Macintosh in 1994, it was followed by an updated MacsBug that supported the PowerPC instruction set and architecture.

The last version of MacsBug was 6.6.3, released September 14, 2000. This final version works with all of the machines released in the July-September timeframe of 2000, including the Power Mac G4 (uni- and multi-processor), Power Mac G4 Cube, the iMac family (Ruby, Indigo, Sage, Graphite, and Snow), and the iBook family (Indigo, Key Lime, and Graphite).

6.6.3 includes better support for debugging MP tasks, and fixes some serious bugs in the memory setting commands when used in PCI I/O space. It can also be used in Classic when running under Mac OS X, where it is invoked by pressing "⌘-⏏" (or "⌘-F12" on systems without an Eject key).

An alternative to Macsbug was the third-party Jasik debugger, which was much more powerful, but arguably harder to use.

External links

Template:Mac OSfr:MacsBug