From: Robert Klemme Date: 2008-08-12T23:06:19+09:00 Subject: Re: Visualizing in-memory objects? 2008/8/12 Michael Guterl : > On Tue, Aug 12, 2008 at 7:17 AM, Casimir wrote: >> Object persistence, transparent, is something that I much desire. >> >> However, I have nowhere near enough understanding on how objects behave in >> memory. >> >> To learn more I thought it would be cool to write something to visualize >> objects and references between the objects. I realize I can use a debugger >> to 'dig in', but I was thinking of something more graphical. >> >> Do you think this pathway is possible? Any pointers? Or should I stick to >> learning debugging? >> > > Check out ograph. > > http://seattlerb.rubyforge.org/ograph/ Sounds promising. I didn't know that, thanks for the link, Michael! Casimir, another simpler alternative might be to use pp, i.e. require 'pp' ... pp some_object Kind regards robert -- use.inject do |as, often| as.you_can - without end