Re: 2nd try GDB and c++ template class
Re: 2nd try GDB and c++ template class
- Subject: Re: 2nd try GDB and c++ template class
- From: Andy Wiese <email@hidden>
- Date: Thu, 4 Nov 2004 01:28:33 -0600
On Nov 3, 2004, at 6:04 PM, Luis E Flores wrote:
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
Sorry Luis, I have no answer for you, just a related question.
It sounds like Luis is asking how to inspect variables that contain
template references. I would like to be able to step into STL code. It
seems that I can step into my own template code, but the debugger seems
to lose the source when I step into the STL. Is there a way get the
debugger to show the STL code as I step through it?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden