I have the following software installed
- Ruby
- 1.8.6
- Columnize
- 0.3.6
- linecache
- 0.43
- ruby-debug
- 0.10.4
- ruby-debug-base
- 0.10.4
There is a piece of code that is almost 22,000 lines long. When rdebug moves to this piece of code, it executes it correctly, but does not display the surrounding correct lines of code or the currently executing line.
For example:
foo.a.b("a string")
Is the method. The following is an example of the code
#around line 2000
@e
@j
@h
.
.
.
#around line 6000
def a
return obj_that_b_is_called_on
end
.
.
.
#around line 20000
def b(string)
puts "Hello World"
puts string
string = a
end
The debugger correctly calls on a
and displays the information. However, when b
is called, the debugger looks at something similar to the code where @e
and @j
are. The functions inside b
execute correctly, print the correct statements, and I can even evaluate the variable string
. Is this a buffer or cache issue? Or is this a setting issue that I can configure?