You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The iseq.absolute_path seems to always be nil for .erb files even though the breakpoint works correctly and stops the execution
at the specifiied line in the erb file.
Therefore the show_bps is broken for such breakpoints showing only the line number:
break app/views/earth/users/index.html.erb:50
break
0 BP - Line :50 (line)
debug/lib/debug/breakpoint.rb
Line 192 in bead098
The
iseq.absolute_path
seems to always be nil for.erb
files even though the breakpoint works correctly and stops the executionat the specifiied line in the erb file.
Therefore the
show_bps
is broken for such breakpoints showing only the line number:Should the mentioned code be changed to:
like it is already done at:
debug/lib/debug/breakpoint.rb
Line 241 in bead098
or should this be fixed at the ruby lang level and make
iseq.absolute_path
properly return the erb file's absolute path?The text was updated successfully, but these errors were encountered: