Mailing Lists: Apple Mailing Lists

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

Re: display of char *



On May 28, 2008, at 1:56 AM, email@hidden wrote:

i asked this before, but never received an answer really

i work with Xcode 2.4 on 10.4 (everything updated to the latest
stuff)

in the debugger when i look at a var of type char*, Xcode
mostly displays it in a very convenient format like:

"perry"

Could you be more precise about "mostly" and "displays?" Where? (In the Value column, the Summary column, the Data Tip, the Variables View, the Expressions window...?

however at some point

At what point? When you step? When you run and pause? When you click on it? When you choose Run > Variables View > Hexadecimal?

Xcode switches to a different format
instead of showing me the content of the char* it shows
only the address of the string, if i click on the triangle
it shows only the first char

what causes this?

We have no way of telling you without some specifics about your case.

and how do i get Xcode to display the content
of the string again?

That depends entirely on why it's happening, for which we need more specifics to discern.


 _______________________________________________
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

References: 
 >display of char * (From: 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.