• 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: Debugger and STL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugger and STL


  • Subject: Re: Debugger and STL
  • From: David Dunham <email@hidden>
  • Date: Thu, 10 Mar 2005 13:36:27 -0800

Jerry

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.)


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.)


And another thing, while I'm typing...what's the best way to view a
variable that's a four char code? There's no "view as Char" command and
even if you go through the dialog and view as char, you only get the
first char. Since any Mac program would disintegrate immediately
without four char codes, it seems strange that XCode doesn't let you
view or enter them.

rdar://3525936 is still in Analyze, sadly. --

David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
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: Debugger and STL
      • From: Jerry <email@hidden>
  • Prev by Date: Re: XCode documentation index; executable runtime paths
  • Next by Date: Re: new chud tools
  • Previous by thread: Re: Debugger and STL
  • Next by thread: Re: Debugger and STL
  • Index(es):
    • Date
    • Thread