• 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: xCode Data Formatter Plugin for std::string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xCode Data Formatter Plugin for std::string


  • Subject: Re: xCode Data Formatter Plugin for std::string
  • From: chris friesen <email@hidden>
  • Date: Sat, 15 Nov 2003 12:24:13 -0800

For the cstring, which can be lossy since it will end at the first \0, you can paste the following formatters into the summary. If you need the full string, including \0's then you'll have to write some code.

For type 'string'

"{(char *)$VAR.c_str()}:s"

For type 'string *'

"{(char *)$VAR->c_str()}:s"

You can add more to your formatter, like this:

size={(int)$VAR.size()} "{(char *)$VAR.c_str()}:s"

Cheers,
Chris

On Nov 14, 2003, at 9:51 AM, tobias wrote:

I was just wondering if anyone has written a xCode Data Formatter Plugin for std::string. It seems like it would be a pretty common request.

Thanks.

-------------------
Tobias Ford...
email@hidden email@hidden
-------------------
Software Engineer @ WolfPack Studios
www.wolfpackstudios.com www.shadowbane.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: xCode Data Formatter Plugin for std::string
      • From: tobias <email@hidden>
References: 
 >Buggy debugger? (From: Jim Rankin <email@hidden>)
 >Re: Buggy debugger? (From: Jim Ingham <email@hidden>)
 >XCode debugger doesn't suck Re: Buggy debugger? (From: Jim Rankin <email@hidden>)
 >xCode Data Formatter Plugin for std::string (From: tobias <email@hidden>)

  • Prev by Date: Re: Managing executable frameworks for multiple projects
  • Next by Date: Re: Why does Xcode's GDB Stop in "dyld_func_lookup_pointer"?
  • Previous by thread: xCode Data Formatter Plugin for std::string
  • Next by thread: Re: xCode Data Formatter Plugin for std::string
  • Index(es):
    • Date
    • Thread