• 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
Need help viewing variables while debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help viewing variables while debugging


  • Subject: Need help viewing variables while debugging
  • From: Kevin Hoyt <email@hidden>
  • Date: Mon, 20 Sep 2004 09:18:29 -0700

Hi all,
Is there a sample 'custom data formatter' project anywhere?  If so, please
point me to it.

Also, is there a quick way of viewing a variable in the memory browser?
All I've been able to figure out is to copy the address, open the memory
browser, and paste in the address.  However, the address is not shown for
arrays like:
char myBuff[32];
so there is no way to view them in the memory browser, short of browsing
around till you find it.  This would not be an issue if a formatter could
be written for the variable, but this is not (apparently) possible for
wchar_t data.  For example:
wchar_t myWbuff[32];



And just in case I've missed something.
Each and every char[xxx] buffer needs to have it's own summary format
string because the size of the buffer is used to keep track of the
formatter.  I don't know if a custom formatter could help with this or
not.

I don't see any way of displaying wchar_t strings without a custom
formatter.  All I need to do is find a way to call wcstombs to convert to
char data, then it should be displayed ( I hope).

As always, any help appreciated.
 _______________________________________________
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: Need help viewing variables while debugging
      • From: email@hidden
    • Re: Need help viewing variables while debugging
      • From: Chris Friesen <email@hidden>
    • trouble using MallocDebug
      • From: "Michael B. Johnson" <email@hidden>
  • Prev by Date: Re: Fix and continue problem (can't find Bundle)
  • Next by Date: trouble using MallocDebug
  • Previous by thread: Conditional breakpoints
  • Next by thread: trouble using MallocDebug
  • Index(es):
    • Date
    • Thread