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 / Mac Programming / February 2005



Tip: Looking for answers? Try searching our database.

Problem debugging with Xcode/GDB - Template quicksand

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy Wolpert - 22 Feb 2005 20:29 GMT
When I step into templates I get stuck there.
Step over, into, out of and continue no longer work.

Here is one of hundred of places this might happen....

template<typename S>
CORBA::Boolean
TAO::In_UB_String_Argument_T<S>::marshal (TAO_OutputCDR & cdr)
{
 return cdr << this->x_;
}

I am wondering if GDB is confused, or there is some kind of unindicated
crash. Can I ask GDB what is going on?

Anyone else experience this. Or have a suggestion?

Thanks,
Andy
Andy Wolpert - 22 Feb 2005 20:46 GMT
Resonding to myself here...

I went away for a cup of coffee and after 15 minutes the program did step
over  a line. It is really slow though. I see in the console window
something like:

"warning: can't find class named `TAO::Ret_UB_String_Argument_T<char,
CORBA::String_var>', as given by C++ RTTI".

So now I am guessing that since I am debugging code built with GCC (using
Gnumakefiles)  but not by Xcode that some of the type info is in the wrong
format or missing.

Agin any comments welcome.

On 2/22/05 12:29 PM, in article BE40D61E.759%andywolpert@mindspring.com,

> When I step into templates I get stuck there.
> Step over, into, out of and continue no longer work.
[quoted text clipped - 15 lines]
> Thanks,
> Andy
 
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.