Re: Debugging dreams?
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