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

Re: Debugging dreams?


  • Subject: Re: Debugging dreams?
  • From: Alexander Heusel <email@hidden>
  • Date: Wed, 7 Jun 2006 10:36:52 +0200


Am 06.06.2006 um 21:31 schrieb Cem Karan:

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:
40iwr.uni-heidelberg.de


This email sent to email@hidden



Why not link in some sort of socket library and send update commands via
IPC? You could even have a CoreData application which acts as a server
and listens to update commands. This would work even when you
are in debug mode.


Regards,


Alexander _______________________________________________ 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: Cem Karan <email@hidden>
References: 
 >Debugging dreams? (From: Cem Karan <email@hidden>)

  • Prev by Date: Re: Cross-development problem with curl
  • Next by Date: Re: Debugging dreams?
  • Previous by thread: Debugging dreams?
  • Next by thread: Re: Debugging dreams?
  • Index(es):
    • Date
    • Thread