Map Ruby Program Call Hierarchy

  • Thread starter Bryan Richardson
  • Start date
B

Bryan Richardson

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?
 
R

Ryan Davis

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,133
Latest member
MDACVReview
Top