Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

MacsBug

From Wikipedia, the free encyclopedia
Low-level debugger, originally for Motorola 68000
MacsBug
The MacsBug debugger interface
DevelopersMotorola,Apple Computer
Initial release1979; 47 years ago (1979)
Stable release
6.6.3 / September 14, 2000; 25 years ago (2000-09-14)
Operating systemClassic Mac OS
Platform680x0 andPowerPC
TypeDebugger
Websiteweb.archive.org/web/20010414230104/http://developer.apple.com/tools/debuggers/MacsBug/

MacsBug (originallyMACSbug) is a low-level (assembly language/machine-level)debugger for theclassic Mac OS operating system. MacsBug is an acronym forMotorolaAdvancedComputerSystems Debugger, as opposed toMacintosh debugger (The Motorola 68000 Microprocessor is imprinted with the MACSS acronym[1]). The original version was developed by Motorola as a general debugger for its68000 systems.[2][3]— it was ported to the Mac as a programmer's tool early in the project's development.

MacsBug is 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 fordisassembling, searching, and viewing data as well as control overprocessor registers. MacsBug is not installed by default with Mac OS, although every Macintosh since the Macintosh Plus includes a debugger in ROM known as MicroBug.[4]

Users who stumble into MacsBug by accident need only to enterG 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. However, it was occasionally installed by end users to provide very basic error recovery. As the classic Mac OS lackedmemory protection, "hard crashes" where an application crash simply froze the entire system weren't uncommon. With MacsBug installed, instead of an unresponsive system, the user would be dumped into MacsBug, where they could typeES to Exit to Shell (force quit the crashed application and return to theFinder) orRB for ReBoot, which restarted the system.[5] Such recovery efforts were often not successful, with the only alternative ahard reset.

In Mac OS versions 7.5 and later, the presence of MacsBug is indicated at startup; it is present if the user sees the textDebugger installed (although, occasionally, this may indicate the presence of another piece of software loaded into the area of memory reserved for the debugger, instead).

MacsBug was originally for the Motorola 68000 series of processors only. When Apple introduced thePower Macintosh in 1994, it was followed by an updated MacsBug that supported thePowerPC 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 thePower Mac G4 (uni- and multi-processor),Power Mac G4 Cube, theiMac family (Ruby, Indigo, Sage, Graphite, and Snow), and theiBook 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 inPCI I/O space. It can also be used inClassic when running under Mac OS X, where it is invoked by pressing "⌘-⏏" (or "⌘-F12" on systems without an Eject key).

Mac OS X allows programmers to use familiar MacsBug commands ingdb. This gdb plugin is included with the OS X Developer Tools, located in the directory /usr/libexec/gdb/plugins/MacsBug/.

Third party alternatives to MacsBug includedICOM Simulations' TMON which came with theDarin Adler Extended User Area & Trap Discipline (allowing all documented Mac API parameters to be verified) and the fully symbolicJasik debugger, which was much more powerful, but harder to use due to the intricate and non-standard user interface.

Versions

[edit]
  • 1979 Motorola 68000 Design Module debugger[3]
  • January 25, 1982 - Adapted by Rich Page for Lisa & Mac.
  • November 1, 1984 - Enhanced by Steve Capps.
  • May 13, 1985 - Version IV+ by Ken Krugler.
  • May, 1986 - Version 5.1 by Dan Allen.
  • November 21, 1986 - Disassembler upgraded by Ira Reuben.
  • June 15, 1987 - Version 5.4 by Dan Allen.
  • March 31, 1988 - Version 5.6.1 by Dan Allen.
  • June 29, 1988 - Version 6.0 by Michael Tibbott.
  • April 20, 1989 - Version 6.1 by Michael Tibbott.
  • September 14, 2000 - Version 6.6.3.

References

[edit]
  1. ^"Image: L_Motorola-XC68000L%20(SN807).jpg, (890 × 425 px)". cpu-world.com. Retrieved2015-09-02.
  2. ^"MACSbug 68000 Debugger User's Manual]"(PDF). Corvus Systems. March 1983.Much of the information contained in this manual is reprinted with the permission of Motorola Inc. from the Motorola MC68000 Design Module User's Guide (Motorola part number MEX68KDM(D4) AUGUST, 1980)
  3. ^abMACSbug 68000 Debugger User's Manual, Catalog entry,Computer History Museum
  4. ^Karl Dandenell (11 February 2001)."TN 1136: MicroBug: The ROM Debugger"(PDF). Archived fromthe original(PDF) on 2014-11-13. Retrieved2015-09-02.
  5. ^"MacsBug Reference and Debugging Guide"(PDF).de veloper.apple.com. 1995. Archived from the original on June 5, 2011. RetrievedJuly 10, 2025.{{cite web}}: CS1 maint: bot: original URL status unknown (link)

External links

[edit]
Versions
Applications
Developer
Technology
Related articles
Retrieved from "https://en.wikipedia.org/w/index.php?title=MacsBug&oldid=1329448924"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp