opensubscriber
   Find in this group all groups
 
Unknown more information…

m : macpascal@listman.sonic.net 15 July 2005 • 8:35PM -0400

Re: [MacPascal] Can't debug in 10.4.2
by Adriaan van Os

REPLY TO AUTHOR
 
REPLY TO GROUP




a.d. jensen wrote:

> 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)

cp /usr/libexec/gdb/gdb-powerpc-apple-darwin ~/Desktop

and then put the file on the Desktop under the name CW_GDB.bin in
MetroWerks CodeWarrior:CodeWarrior Plugins:Debuggers.

Regards,

Adriaan van Os

_______________________________________________
MacPascal mailing list
MacPascal@list...
http://lists.sonic.net/mailman/listinfo/macpascal

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.