Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / May 2006



Tip: Looking for answers? Try searching our database.

CW 10 and CW 9 debuggers can't step into virtual functions!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KevinKiller - 04 May 2006 17:54 GMT
Hi,

I have a carbon project that I'm developing under OS X 10.4.6 using
PowerPlant.  The problem I have is that the debugger will hang if you try
stepping into a virtual function from source-code view.  If you change the
view to mixed or disassembly then you get step into the "ptr-glue" stuff
which will then step into your virtual function.

Is there any setting I can use to get this to work in source-code view?

John.
froetho@googlemail.com - 04 May 2006 19:20 GMT
> I have a carbon project that I'm developing under OS X 10.4.6 using
> PowerPlant.  The problem I have is that the debugger will hang if you try
[quoted text clipped - 3 lines]
>
> Is there any setting I can use to get this to work in source-code view?

CW just uses gdb with a nice interface. Different gdb versions have
different quirks, and CW doesn't always work well if debugger versions
don't match the one it was developed for. As such, to get a different
version of gdb, you have to get it from your XCode install, or see if
there is a version in the CW install that you can make the default. It
is all rather messy, and newer system/XCode versions in the past broke
CW debugging seriously. In short, you need to find the combination
thatw orks for you by trial and error. Starting with the default
install of XoCde available at the time of CW release is your best bet.
This has always worked for me.

   Thorsten
jack sprat - 08 May 2006 20:09 GMT
Ok,

How can I tell which version of gdb CodeWarrior is configured to use?

How can I install multiple versions of XCode such that I have a debugger
that Metrowerks can use and one for the latest XCode?

Thanks,

J.

> > I have a carbon project that I'm developing under OS X 10.4.6 using
> > PowerPlant.  The problem I have is that the debugger will hang if you try
[quoted text clipped - 16 lines]
>
>     Thorsten
froetho@googlemail.com - 09 May 2006 16:47 GMT
> How can I tell which version of gdb CodeWarrior is configured to use?

I am not sure. I run CW on one system and XCode on another (newer)
system. So if you have two Macs, there are no such problems. That is
all I can say.

   Thorsten
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.