RE: C++ References in Xcode debugger
RE: C++ References in Xcode debugger
- Subject: RE: C++ References in Xcode debugger
- From: "Greg Norz" <email@hidden>
- Date: Thu, 2 Feb 2006 15:22:40 -0600
- Thread-topic: C++ References in Xcode debugger
| I need some help with Xcode. I only just started using it
| today, but already I have a problem with the debugger. When
| I'm looking at the values of variables, I can see the values
| without any issues, *except* when an object is passed as a
| reference. In that case, I cannot see the referenced
| object's data, instead I just garbage values. It would seem
| that Xcode doesn't realise that the object is reference, and
| can't deal with it appropriately. I know gdb can handle
| references ok, so I don't understand why the Xcode debugger
| is failing to.
|
| Any help or suggestions?
I have the same problem, but I usually have object references that I can
drill down into in order to view the data. I haven't actually see the
debugger hose the values in the Variables window.
Example: if you have a local variable of type 'std::string', then the
debugger shows you the underlying string in the Summary column. If you
are trying to view a 'const std::string&' parameter, then you have to
actually drill down into the object's memory location to see the string
in the Summary column.
I assume this is a common issue for IDE vendors as I think older
versions of Visual Studio had the same problem until VS.NET 2003.
greg norz
southwest airlines || southwest.com
email@hidden
Wright is Wrong! - www.setlovefree.com
_______________________________________________
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