Module TraceLineNumbers
In: lib/linecache/tracelines.rb
lib/linecache/trace_nums.rb
lib/linecache/tracelines.rb

require ‘ruby-debug’ ; Debugger.start(:post-mortem => true)

Methods

Public Instance methods

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

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.

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]