• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: display of char *
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display of char *


  • Subject: Re: display of char *
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 28 May 2008 09:55:31 -0700

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: display of char *
      • From: Perry Winkel <email@hidden>
References: 
 >display of char * (From: email@hidden)

  • Prev by Date: Re: I'm new to Xcode, and . . .
  • Next by Date: Re: CrashReporter prevents my debugged application from going away
  • Previous by thread: Re: display of char *
  • Next by thread: Re: display of char *
  • Index(es):
    • Date
    • Thread