• 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: 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]

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


  • Subject: Re: Routine viewing of specific values of a complex data structure in the debugger
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 26 May 2004 14:05:16 -0700

On May 26, 2004, at 11:19 AM, John Clements wrote:

<snipped for length>

The curly brackets tell XCode this is an expression.
$VAR is replaced by the variable FOR EVERY QString!!
I'm not 100% sure what ':s' means - format the result for the 'Summary' column, perhaps?

Exactly. Good guess.

Anyway it works very nicely (so far).

Thanks again,

You're very welcome. I was somewhat surprised to find no documentation on how to do this; I'll put in a request to get the format documented.


There are some notes on how to do this and more (e.g. write compiled routines that are executes and passed your $VAR and can write out a c string) in the header file

/Developer/Applications/Xcode.app//Contents/PlugIns/ GDBMIDebugging.xcplugin/Contents/Headers/DataFormatterPlugin.h

Chris
_______________________________________________
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.


References: 
 >Routine viewing of specific values of a complex data structure in the debugger (From: John Clements <email@hidden>)
 >Re: Routine viewing of specific values of a complex data structure in the debugger (From: Chris Espinosa <email@hidden>)
 >Re: Routine viewing of specific values of a complex data structure in the debugger (From: John Clements <email@hidden>)

  • Prev by Date: More Framework issues.
  • Next by Date: cvs and xcode
  • Previous by thread: Re: Routine viewing of specific values of a complex data structure in the debugger
  • Next by thread: newbie questions
  • Index(es):
    • Date
    • Thread