On Mar 29, 2007, at 5:51 PM, Larry F. wrote:
Joel VanderWerf wrote:
gem install ruby-prof
It’s a really nice tool.
OK, but doesn’t it just produce runtime reports? I’m looking for a
static report on WHERE in my code various objects and methods are
Is this capability buried in ruby-prof somewhere? The docs just talk
I’d be surprised if it were even possible to generate a call graph
based on the static text. Ruby is simply too dynamic of a language.
The main problem is that it is really difficult (impossible?) to
intuit the class of the object returned by a method call by simply
looking at the text. Add in the possibility that methods are
created at run time and it becomes a really hard problem.