set_get_line_procs(file_name, p = proc)
Class Public methods
Register an event handler p
which is called everytime a line
in file_name
is executed.
Example:
Tracer.set_get_line_procs("example.rb", lambda { |line| puts "line number executed is #{line}" })
Please login to continue.