Skip to content

rhys117/process_tracer

Repository files navigation

ProcessTracer

Leverage ruby's TracePoint class to see the exactly what code path your execution is taking.

Inspired by trailblazers wtf? method.

TODO:

  • Work out how to handle rails/gem calls so first callout shows

Usage

trace = ProcessTracer::Trace.new { Task.perform(test: 'params') }
trace.print
# Task.perform:{:test=>"params"} > "Return value example"
#   .other_task_method:{} > "Other task method return value"
#   OtherClass.new:{} > "..."
#     .other_class_method:{} > "..."

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published