• 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
Routine viewing of specific values of a complex data structure in the debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Routine viewing of specific values of a complex data structure in the debugger


  • Subject: Routine viewing of specific values of a complex data structure in the debugger
  • From: John Clements <email@hidden>
  • Date: Wed, 26 May 2004 12:29:22 +1000

I am using a framework that has a very nice string class (QString). It
handles Unicode strings, and provides lots of handy utilities. Only
problem is that is awkward to monitor the current value of a QString in
the debugger. One solution is to type "theTitle.latin1()" into the
debugger's expression evaluator (where 'theTitle' is a QString - see
attachment). The other solution is to burrow down into the structure to
find the  'ascii' field of the string class. Both approaches are
awkward and time consuming during intensive debugging. Can anyone
suggest an XCode technique to simplify routine viewing of the value of
a specific field in a complex structure? Perhaps I need to sub-class
QString?

[demime 0.98b removed an attachment of type image/png which had a name of Expressions.png]
Dr. John Clements
Axon Instruments
_______________________________________________
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: Routine viewing of specific values of a complex data structure in the debugger
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: obese __LINKEDIT section
  • Next by Date: Re: Routine viewing of specific values of a complex data structure in the debugger
  • Previous by thread: obese __LINKEDIT section
  • Next by thread: Re: Routine viewing of specific values of a complex data structure in the debugger
  • Index(es):
    • Date
    • Thread