Re: Debugger and STL
Re: Debugger and STL
- Subject: Re: Debugger and STL
- From: Jerry <email@hidden>
- Date: Fri, 11 Mar 2005 09:05:59 +0000
On 10 Mar 2005, at 21:36, David Dunham wrote:
Does anyone have any useful hints for looking at STL variables in the
XCode Debugger?
Debugging STL has always been painful. Have you tried CodeWarrior,
which in general handles C++ and Carbon better than Xcode? (Despite
Jim Ingham's heroic efforts with Xcode debugging.)
Well, we moved from CodeWarrior to XCode some time ago and I don't
really want to go back. Can you use the CW debugger with an XCode-built
project though? I assumed it wouldn't work without a CW project. I
agree that CW's debugger handles STL better, though it helps that CW's
implementation of std:vector has a size field in it!
I can see std::string by adding a custom formatter
%_M_dataplus._M_p%:s
but the debugger keeps forgetting this and I constantly have to
re-enter it.
Chris Friesen's message with the subject "Re: Data Formatters don't"
might be relevant -- apparently this is a well-known bug that for some
reason hasn't been fixed. (Unless I'm confusing your bug with said
well-known bug.)
I think that's a different bug. I can get the data formatter to work,
but the debugger tends to forget it after a couple of days. On the
other hand, a lot of data formatters which look OK to me don't work at
all - I just get the gray text of the formatter. I can't spot any logic
to it.
Jerry
_______________________________________________
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