Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Duplicate
-
Affects Version/s: JRuby 0.9.9
-
Fix Version/s: JRuby 0.9.9
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:linux,
-
Testcase included:yes
-
Number of attachments :
Description
Try to run the following code.
set_trace_func proc { |_, _, _, _, binding, _|
p binding.class
p eval("local_variables", binding)
}
a = 5
Output:
Object TypeError Exception in thread "main" Array
Object, should be Proc or Binding. It is blocker for the debuggers and similar applications.
Issue Links
- duplicates
-
JRUBY-361
Wrong argument type for trace function - name of scope instead of binding
-