Re: Viewing Pointer Contents
Re: Viewing Pointer Contents
- Subject: Re: Viewing Pointer Contents
- From: Mark Wagner <email@hidden>
- Date: Tue, 17 Jan 2006 09:54:20 -0800
On 1/17/06, Nick Nallick <email@hidden> wrote:
> In the Xcode debugger, how do I view the memory referenced by a
> pointer as common values. Specifically if I have a pointer to a C or
> Pascal style string how do I get the debugger to show me this as a
> string?
>
> Also, if I have a pointer that happens to point to an array of
> elements, how do I see more than the first element?
>
> Basically I'm looking for equivalents to the CodeWarrior commands
> "View Array", "View As C String", and "View As Pascal String".
The only reliable method I've found is to bring up the debugger
console and type "print *my_var_name", possibly with a typecast.
--
Mark Wagner
_______________________________________________
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