-
Notifications
You must be signed in to change notification settings - Fork 139
Open
Description
Line 192 in bead098
| @path = iseq.absolute_path |
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:
break app/views/earth/users/index.html.erb:50
break
0 BP - Line :50 (line)
Should the mentioned code be changed to:
@path = iseq.absolute_path || iseq.pathlike it is already done at:
Line 241 in bead098
| if DEBUGGER__.compare_path((iseq.absolute_path || iseq.path), self.path) && |
or should this be fixed at the ruby lang level and make iseq.absolute_path properly return the erb file's absolute path?
Metadata
Metadata
Assignees
Labels
No labels