Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: Extensions
-
Labels:None
-
Number of attachments :
Description
jruby -rtracer should work like -rtracer...and doesn't appear to..
Issue Links
- is depended upon by
-
JRUBY-4636
jruby --debug -rdebug -rubygems -v crashes
-
The problem here is that JRuby doesn't normally support set_trace_func unless you pass --debug, because of the extra overhead that repeatedly checking for trace functions adds to the system. Normally, we warn if set_trace_func is called without being in "full trace mode", but in this case tracer.rb sets verbose to false, disabling all warnings.
Passing --debug along with -rtracer causes it to work just fine:
I'm going to either modify tracer.rb to not turn verbose off or modify set_trace_func to log regardless of verbosity (or raise).