Module | TraceLineNumbers |
In: |
lib/tracelines.rb
lib/tracelines.rb |
require ‘ruby-debug’ ; Debugger.start(:post-mortem => true)
Return an array of lines numbers that could be stopped at given a file name of a Ruby program. We assume the each line has \n at the end. If not set the newline parameters to \n.