Module TraceLineNumbers
In: lib/linecache-ruby.rb
lib/tracelines.rb

require ‘ruby-debug’ ; Debugger.start

Methods

Public Instance methods

Return an array of lines numbers that could be stopped at given a file name of a Ruby program.

Trivial implementation allowing to stop on every line.

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.

[Validate]