Re: STL vector debugging
Re: STL vector debugging
- Subject: Re: STL vector debugging
- From: Robb Olsen-Albright <email@hidden>
- Date: Tue, 7 Feb 2006 11:22:13 -0800
Thanks, Chris, that is a start and basically what I had planned if there wasn't some simple fix to make them work better w/ in the UI. FWIW, in Debugger Format parlance (double click in summary or value colum and type:) I did: size: {$VAR._M_impl._M_finish - $VAR._M_impl._M_start}
to show a label and the size value in the column.
peace,
robb
On 07 Feb 06, at 7:05 AM, Chris Jefferson wrote: Not perfect at al, but a couple of suggestions.
for a vector v: "print v._M_impl._M_finish - v._M_impl._M_start" gives length of vector.
"print *(v._M_impl._M_start+n)" gives the nth element of the vector.
On 2/6/06, Robb Olsen-Albright <email@hidden> wrote: Greetings list,
The Mac team where I work (well, it's me and one other developer) is working on converting our fairly large cross-platform Codewarrior project to Xcode (isn't everybody :) )
My question is regarding debugging code that uses STL vectors.
<snip> robb olsen-albright vernier software & technology portland, or |
_______________________________________________
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