• 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
Debugging dreams?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging dreams?


  • Subject: Debugging dreams?
  • From: Cem Karan <email@hidden>
  • Date: Tue, 6 Jun 2006 15:31:15 -0400

I'm in the process of trying to track down an error in how my object graph is being updated, and would like to be able to visualize the current state of the graph at all times. The debugger in XCode allows me to either a) view the current state of the variables of my structs using the default format or b) create a custom formatter that only displays text. I would rather use GraphViz to display a graphical rendering of what my object graph is like as I'm stepping thru my code, but this requires knowledge of the current state of the machine at each step. This is EXACTLY what GDB (and therefore XCode) are doing every single step of the way. So my question is, how do I query XCode for all the relevant information? Am I even able to this? In my idealized view of the world, XCode would have a CoreData data store defined that is updated every time I step the debugger, which would allow me to implement a KVO based plugin that called GraphViz to present a view of the current state of my object graph. I don't see that though... and I'm all ears for suggestions! My current process is to use LOTS of printf() statements to a log file, and then postprocess the file into something that GraphViz can handle.

Thanks,
Cem Karan
_______________________________________________
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: Debugging dreams?
      • From: Damien Bobillot <email@hidden>
    • Re: Debugging dreams?
      • From: Alexander Heusel <email@hidden>
  • Prev by Date: Re: How can I add labels?
  • Next by Date: (no subject)
  • Previous by thread: Re: How can I add labels?
  • Next by thread: Re: Debugging dreams?
  • Index(es):
    • Date
    • Thread