opensubscriber
   Find in this group all groups
 
Unknown more information…

m : macpascal@listman.sonic.net 16 July 2005 • 7:49AM -0400

Re: [MacPascal] Can't debug in 10.4.2
by jda

REPLY TO AUTHOR
 
REPLY TO GROUP




Many thanks a.d. and Adriaan for your help.

It's better, but still a problem.

I installed XCode 2.1 and transferred the CW_GDB.bin file. Now when I
debug my application actually launches. But when a breakpoint is
reached, both my app and CW 7 crash, without a crash log.

Is there anything else I need to install/update?


>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.
>
_______________________________________________
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.