Re: How do you view arrays in the debugger?
Re: How do you view arrays in the debugger?
- Subject: Re: How do you view arrays in the debugger?
- From: Rick Mann <email@hidden>
- Date: Mon, 14 May 2007 16:31:42 -0700
On May 14, 2007, at 16:20 , Edward K. Chew wrote:
If you can find your pointer in the Variable view (and it's not
flagged with the dreaded "out of scope"), you can select it and go
Debug -> Variables View -> View Value As. This will put up a
dialog showing something like "int *", which you can change to say
"int[10] *" to get an array of 10. I do it this way because most
of my pointers are buried deep within a class hierarchy, making it
difficult to come up with the correct expression on my own.
Interesting. I tried this, but did not add the trailing asterisk.
I'll try it again later...
--
Rick
_______________________________________________
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