okidoki
the content of a string normally shows up in the Summary column this column is during breaking and stepping in the section with
Variable Value and Summary
the column named Variable contains a list of my variables having a triangle when they are pointers, or objects for that matter
then maybe once a week the Summary info disappears for char pointers only, i can imagine you would like to now what i am doing all i can say is it only happens when i do some serious programming for hours what i also know is that when i hit Continue for tens of times in a row, a thing i do regularly for some funny aspect of my code, Xcode gets in trouble. also my programming involves lots of memory allocations, deep stack operations and lots of threads and when i break with say 50 threads running, all deep in their stack. i can see things are not that cool anymore. the window barely works anymore. when i am lucky i can have a very cautious and quick look at things and then its reboot time.
being a programmer myself facing multiple bug-reports a day that need attention, i can see this is not helping a lot :-)
i can work around these issues fine by the way and am very happy with things how they are, although i miss Codewarrior still a bit :-) but just a bit because it did not handle threads at all and Xcode does quite a good job with threads. really impressive.
i was just hoping the char-pointer-thing was some known issue...
furthermore i am really looking forward to working with the latest stuff. a friend of me gave me a demo. i know now why he was so enthusiastic about it. cool
On May 28, 2008, at 18:55 , Chris Espinosa 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.
|