Ruby development involves looking at a lot of backtraces. Knowing that something happend on line 15 isn’t generally very helpful becaues you don’t know what’s on line 15.
Pipe your ruby backtraces through backtrace_details and it’ll
highlight the backtrace line, extract the trailing information on it,
and tell you what was on the line in question.
USAGE: No direct invocation. Pipe a backtrace into this
       it'll pair the backtrace lines with the lines of
       code that they point at.
       Ex. this...
           echo ' /Users/masukomi/bin/backtrace_details:15:trailing stuff' \ 
           | backtrace_details
       Will output
           /Users/masukomi/bin/backtrace_details:15
           trailing stuff
           YELLOW=$'\e[1;33m'
       -h to display this message
ASSUMPTIONS:
       * assumes macos paths starting with /Users/
       * assumes  .*<file>:<line_number>:<ignorable commentary>
Metadata:
Tags: