> jda wrote:
>> Hi folks,
>> I'm using CW 7 Pascal, which has been working fine until today, when
>> I suddenly I find I can't debug anymore -- I get the spinning
>> beachball when I hit Command-R. The only thing I can think of that
>> might have done this is that I upgraded from Mac OS X 10.4.1 to
>> 10.4.2. I have repaired permissions, rotated caches, rebooted, and
>> still no go.
>> Any ideas?
> I had similar problems after updating to 10.4.2, although with CW 8
> and 9. They were fixed by downloading xCode 2.1 and installing that.
> You might try reinstalling whatever existing Dev Tools you have, since
> Heaven only knows what installing xCode 2.1 will do to you (I was
> already using 2.0 on that box.)
CW8 and 9 use the system gdb as debugger nub, so when installing a
newer XCode, you get a newer gdb, which affects CW 8 and 9 debugging.
However, things are more complicated for CW 7, as CW 7 doesn't use the
system gdb but the file MetroWerks CodeWarrior:CodeWarrior
Plugins:Debuggers:CW_GDB.bin. So, for CW 7 you have to replace that
file with the new system gdb. The system gdb is typically located at
/usr/libexec/gdb/gdb-powerpc-apple-darwin, with the script /usr/bin/gdb
pointing to it (but the details may differ on OS X 10.4). For example,
type (in a Terminal window)