Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: JRuby 0.9.8
-
Fix Version/s: JRuby 0.9.9
-
Component/s: Core Classes/Modules
-
Labels:None
-
Number of attachments :
Description
Try to run ('sophisticated' printf just for convenience):
====
printf "%8s %20s:%-2d %10s %8s\n", 'event', 'file', 0, 'id', 'classname'
$stdout.puts "-" * 80
set_trace_func proc { |event, file, line, id, binding, classname|
printf "%8s %20s:%-2d %10s %-8s\n", event, file, line, id ? id : 'nil', classname
}
class B
end
====
1) Number are wrong which causes obvious problem for debugging
2) There is empty filename for 'end' event which causes a kind of special problem for debug-commons during its start-up
Hi, is there any plan about fixing this issue? It is a blocker regarding JRuby debugging. There are more problems with line numbers but it might be the same culprit like the one in this issue.