Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB and c++ template class



Hello, I am doing some c++ List class project. At the time of troubleshooting I use gdb and break points. I am able to stop at the break point and look at the data pointed by the List pointer. I do this by using the arrow next to the List pointer, this rocks !!.

The problem that i have is that if the class get template(template<class T>) I can't follow the pointer any more. The little arrow does not appear anymore and it just show me the hex value of the pointer. It also classified the type as a struct, for example; if the class is not template the arrow appear and the type is Node *, in the other hand, if the class is template, the arrow disappear, I get just the hex value of the pointer and the type change to struct Node<int> *

any ideas?

thanks

-luis

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.