• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Debugging software for OS 8/9?

Corgi

Well-known member
I'm taking a crack at learning Toolbox (well, I'm actually starting with CarbonLib) so that I can write some utilities of my very own for Mac OS. I have the basics and have written a little applet that opens a dialog asking for a URL, and then attempts to download the file from the URL on to the Desktop. It works pretty well in Carbonised OS X, but it causes OS 9 to reboot. :I

I thought "Hey, I'll try using CodeWarrior's Debugger". CodeWarrior IDE locks the whole machine when I try to start the debugger on OS 9, so I thought "okay… maybe I'll try using CW7 in OS X with Classic mode?" Unfortunately I receive a very unhelpful message - "bus error" - when I try and start the debugger from Panther or Tiger. There is no crash log written to ~/Library/Logs/CrashReporter/, so I'm not sure what this error is. I tried copying /usr/libexec/gdb/gdb-powerpc-apple-darwin to CW_GDB.bin as suggested on the Carbon developers mailing list to no avail (still "bus error").

I suppose what I really need is a way to use debugging on OS 9 itself, rather than going through Classic mode -- but since these tools are all decades old, I'm not sure if there are any patches to CW7 (I've got a CW 7.1 CD set, it is what I am using) or if there is another debugger I could try to find on eBay or somewhere to use instead. Perhaps Apple provided one for the Mac OS and I'm just missing it?

Any help would be appreciated, I would really love to be able to write some new software for old Macs. Thanks in advance! :beige:

Picture 1.png

 
Top