Low End Mac Reader Specials
TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
Don't install Parallels to play poker online! Poker Mac will show you how
to download and install a native Mac poker application such as Full
Tilt Poker Mac.
Laptop Hardware Provided by TechRestore - Overnight Mac & iPod Repairs.
Compare products like desktop computers, apple laptops, apple macs, and LCD Monitors side by side! All the information and reviews to make the best purchasing decision for new mobile phones, sat nav systems, or MP3 players. The Ciao online shopping community makes searching products easy for you.
Miscellaneous Ramblings
MacsBug 6.6, Apple's Free 'Crash' Utility
Charles Moore - 1 Nov. 1999 - Tip Jar
This week Apple released the final version of its Mac OS 9 compatible version of MacsBug App version 6.6. MacsBug also finally has its own, dedicated web page on the Apple Website, where you can go to get information on or download the latest MacsBug version.
MacsBug is an acronym for: Motorola Advanced Computer Systems deBUGger, and is Apple's assembly-le vel 680x0 and PowerPC debugger for the Mac OS. It is used by programmers to debug code running in most execution environments, from applications to drivers, and everything in between, and is often used as a bug-reporting tool by 3rd-party developers, as well as Mac OS system software developers.
However, MacsBug is also a very useful piece of software to have in your system folder, even if you are a programming dunce like me. The main thing I find MacsBug useful for is getting out of crashes and screen lockups so I can save work and restart in an orderly fashion, or even continue working without restarting if I'm pressed for time. Sometimes I will have programs crash to MacsBug three or four times a day, and still be able to carry on for days without restarting my computer. Without MacsBug, each of those crashes would have involved a hard restart and the necessity of restarting the 15-20 programs I keep running all the time as well.
When MacsBug is installed, instead of a bomb dialog box or an "unexpectedly quit" or "system error" message showing up when a program crashes, you are presented with a funny looking, DOS-like screen, which can provide you with a comprehensive explanation of the problem, such as illegal instruction" or "unimplemented trap" or somesuch at some address in some data space with other details you don't care about. That's usually not very helpful unless you understand programming code.
What is helpful is that you can type "es" (which stands for "ExitToShell") into an entry field, press return or enter, and quite often be transported back to the Finder where you will still be able to do stuff - if only save your work. The prudent user will then quit all running programs and restart, which is still a lot better than losing unsaved work in other programs in a force restart. The unprudent user like me will keep right on computing and wait until the memory heap gets so corrupted that even MacsBug won't get me out of it. However, no harm done usually. In MacsBug App 6.6, when you "es" (Exit to Shell) it now cleans up properly by patching ExitToShell.
If typing "es" doesn't work, you're no worse off, and will usually end up back in the MacsBug window. I usually try "es" two or three times, and if that does not produce the desired result, I resign myself to the dreary task of restarting, which can also be done from the MacsBug window by typing "rs" (which stands for guess what?) and pressing return or enter. You can also (almost always) bring up the MacsBug window at any time by pressing Command and PowerKey, even if things have frozen but MacsBug has not appeared of its own accord. Why would you want to do this?
Because the restart you get by pressing "rs" in MacsBug is different from the "Restart" command the Finder offers. The Finder's "Restart" command sends an Apple event to all programs, asking them to quit, turning off the hardware only when the Finder is all that's left. The MacsBug "rs" command tries to unmount all of your online volumes and then toggles the hardware power, so you'll lose any unsaved work in any application. The main advantage to "rs" over the Finder's "Restart" command (which is probably inaccessible anyway in a crash or freeze) is disk unmounting. If a disk isn't unmounted correctly, the Mac OS realizes that something is wrong and goes through a time-consuming verification cycle next time the disk is mounted (made available for use). But "rs" takes a crack at unmounting the disks before restarting, which could save some time. If that fails, "rb" tries to unmount only the boot volume before telling the hardware to restart. Either is better than simply pressing the power switch twice or using the time-honored "Command+Control+PowerKey" force restart command.
These three useful commands: "es," "rs," and "rb," are just the tip of the iceberg, so to speak, of what MacsBug is capable of, but they are the reason I wouldn't want to be without it. If you don't already have MacsBug, give it a try. It's free! Just download, drop it in your System folder, and forget it until you need it. Instructions for installing MacsBug are included in the ReadMe file with the download.
MacsBug 6.6 final, Released October 25, is the latest version of MacsBug, and is the required version for Mac OS 9. It includes numerous bug fixes (yes, even a debugger can have bugs!) and cool new features. Highlights include basic support for the new PowerPC AltiVec (AKA: "Velocity Engine") vector unit, initial mouse-based control (MacsBug finally has a cursor!), a rewritten Watch Points implementation that supports Mac OS 8.6 and 9.0, as well as numerous other changes.
Another new feature in MacsBug 6.6 is the add "DS" (Display memory Strings) command, which searches through memory and displays the first string of characters that match a given criteria. A valid string has all characters in the ASCII range 32 to 127, and has a minimum specified length, which defaults to five characters. The following example finds all strings in the current application heap that are at least 20 characters long:
DS InApp #20
A new experimental feature in MacsBug is a Menu Bar, which is off by default, but which can be dynamically enabled with the "SET MENUBAR" command. To enable the menu bar by default, copy the 'mxpr' and 'TMPL' resources from MacsBug into your "Debugger Prefs" file, then edit the 'mxpr,' and set the "Show MacsBug menu bar" bit.
Text is now highlighted in various colors to show errors, warnings, etc. Entering MacsBug 6.6 no longer causes the Macintosh to lose the network connection when booted from a NetBoot server. Note that MacsBug calls the G4 processor "7400 (G4)."
You can download MacsBug from Apple's
MacsBug page.
- Be sure to read the follow-up article on MacsBug.
Charles Moore has been a freelance journalist since 1987 and began writing for Mac websites in May 1998. His The Road Warrior column is a regular feature on MacOpinion, and he is a news editor and columnist at Applelinks.com. If you find his articles helpful, please consider making a donation to his tip jar.
Recent Miscellaneous Ramblings
- Pismo WiFi Networking Issue Finally Solved?, 11.24. It turns out the problems wasn't the Pismo, the Buffalo WiFi card, or Mac OS X 10.4. It was the Wireless G router - Linksys to the rescue!
- Why Spaces is My Favorite Leopard (and Snow Leopard) Feature, 11.23. Spaces, a feature introduced with OS X 10.5, is like having several monitors on your Mac without the cost and space of using multiple displays.
- Soft Touch Keyboards, Wireless Mouse Options, Loving SeaMonkey 2, and More, 11.18. Also the future of browsing with PowerPC Macs and the multiple mouse input bug introduced with OS X 10.5.8.
- 4 Mac Browsers Updated Recently, 11.16. A look at the release version of Safari 4.0.4 and preview versions of Firefox 3.6, Chrome 4.0, and Opera 10.10.
- More in the Miscellaneous Ramblings index.
Links for the Day
- Mac of the Day: 17" MacBook Pro Core Duo, Apr. 2006 - The top-end MacBook Pro includes a 1680 x 1050, 2.16 GHz Core Duo CPU, and supports Apple 30" Cinema Display.
- Group of the Day: G4 List is for those using Power Mac G4s or G4 upgrades.
- November 24 in LEM history: 98: Microsoft's heavy hand - 00: Looking at the iMac - 04: The best Mac for the holidays - Picking the right replacement for a dead mouse - Better battery for 15" AlBook
- Support Low End Mac
Recent Content on Low End Mac
- Mini VGA to S-video Adapter a No Go for eMacs, Dan Bashur, Apple, Tech, and Gaming, 11.24. You might think that Apple's Mini VGA S-video adapter is a cheap way to connect your eMac or G4 iMac to your TV. You would be wrong.
- Google Calendar with iPhone or iTouch Is Great for Scheduling, John Hatchett, Recycled Computing, 11.24. Web-based Google Calendar allows access and updates from any computing platform, including Mac, Windows, Linux, and iPhone OS.
- i5 iMac Benchmarked, Mac mini 'Shouldn't Be Overlooked', Twitter Client for Classic Mac OS, and More, Mac News Review, 11.20. Also why Apple leaves the low end to others, 10.6.2 fixes video playback problem in 27" iMac, 3D Leopard and Snow Leopard performance, and more.
- Apple's Tablet an End Run Beyond Netbooks, Frank Fox, Stop the Noiz, 11.20. Whatever Apple has planned will leverage existing technologies while going beyond what its competitors can offer.
- Apple #4 in Reliability, Apple Tablet a Gadget for All?, HP's i7 Notebook Outdoes Mac Rivals, and More, The 'Book Review, 11.20. Also Flash 10.1 improves video on Hackintosh netbooks, thin-and-light notebooks impress, Windows XP finally on the way out, and more.
- NASA Chemical Sensor for iPhone, Smartphone Death Match, iPhone Earrings, and More, Ian R Campbell, 11.20. Also mobile phone dangers, new apps, GPS solution for iPod touch, new iPod and iPhone cases, and more.
- More links in our archive.
Recent Deals
- Best G4 iMac Deals, 11.24. Used 15" 700 MHz CD-RW, $150; 800 MHz Combo, $229; 1 GHz, $289; 17" 1.25 GHz, $200; 20" 1.25 GHz, $509.
- Best MacBook Air Deals, 11.24. Used from $899; refurb from $1,099; new 1.6 GHz/120 HD, $1,150 after rebate; 1.8/64 SSD, $1,150 a/r; 1.86/128 SSD, $1,350 a/r; 2.13/128 SSD, $1,694 a/r.
- Best PowerBook G3 Deals, 11.24. Used 233 MHz WallStreet, $75; 266 MHz, $160; 400 MHz Lombard, $199; 400 MHz Pismo, $289; 500 MHz, $350.
- Best 12" PowerBook G4 Deals, 11.23. Used 867 MHz SuperDrive, $348; 1 GHz Combo, $379; SD, $519; 1.33 GHz, $529; 1.5 GHz Combo, $549; SuperDrive, $609.
- Best Mac Pro Deals, 11.23. Used 2.66 GHz 4-core, $1,300; 3.0 4-core. $1,919; refurb 2.66 4-core Nehalem, $2,149; 2.93, $2,549; 2.93 8-core, $4,999; new 2.26 8-core, $2,290.
- Best Time Capsule and AirPort Deals, 11.23. Used 802.11g AirPort Extreme, $49; 500 GB Time Capsule, $150; new, $190; 1 TB dual-band, $280; 2 TB, $469; 802.11n AirPort Extreme, $170.
- Best eMac Deals, 11.18. Used 1 GHz Combo, $100; SuperDrive, $269; 1.25 GHz Combo, $119; SD, $319; 1.42 GHz Combo, $289; SD, $498.
- Best Mac OS X 10.6 and Mac Box Set Deals, 11.18. "Snow Leopard", single user, $25; 5 users, $45; Mac Box Set, single user, $139; 5 users, $180; Server, $414. Shipping included.
- Best Xserve Deals, 11.18. Used 1 GHz dual G4, $649; 2.3 dual G5, $795; 3.0 4-core Xeon, $1,899; refurb 2.26 4-core, $2,499; new, $2,888; refurb 8-core, $2,999; new, $3,449; more.
- More deals in our archive.
About LEM | Support | Usage | Privacy | Contacts
Navigation
Used Mac Dealers
Apple History
Video Cards
Email Lists
Favorite Sites
MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System
6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Affiliates
The Apple
Store
Mac
Connection
B&H
MacMall
TechRestore
ExperCom
Crucial
Memory
batteries.com
Advertise
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Mac Connection
B&H
MacMall
TechRestore
ExperCom
Crucial Memory
batteries.com
