Map Ruby Program Call Hierarchy

Hello all,

I’m wondering if a Ruby library exists that makes it possible to map the
call hierarchy of a Ruby program. For example, given a command-line
program with different options, I’d like to be able to run the program
multiple times, each time with different arguments, and map the ‘route’
the code takes. I’d like to be able to see what methods of what classes
are called as the program executed. Does anyone know if anything like
this exists?


Thanks!
Bryan

On May 5, 2009, at 21:57 , Bryan R. wrote:

I’m wondering if a Ruby library exists that makes it possible to map
the
call hierarchy of a Ruby program. For example, given a command-line
program with different options, I’d like to be able to run the program
multiple times, each time with different arguments, and map the
‘route’
the code takes. I’d like to be able to see what methods of what
classes
are called as the program executed. Does anyone know if anything like
this exists?

look at tracer.rb

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs