Charles Oliver Nutter (JIRA) wrote:
[ http://jira.codehaus.org/browse/JRUBY-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_96868 ]
Charles Oliver Nutter commented on JRUBY-944:
---------------------------------------------

I think this is a problem with the top-level script getting compiled. Since 
there's no trace function set when it starts, JRuby compiles it. Since we're 
still in the middle of executing it when the trace func is enabled, it stops 
working.

Martin, wouldn't it just be possible for you to have JRuby running from the 
debugger disable the JIT completely? It's just one system property to set: 
jruby.jit.enabled=false. I think that's probably going to be the best bet here. 
I don't want to hack up the JIT any more than I have to to get this working.

jruby.jit.enabled=false: thanks for the tip Charles, this might be used by the GUI frontends utilizing stf (CCing possibly interested folks)

But still the problem for JRuby itself and people trying to use the debugger in a classic way, requiring debug.rb. Might be you should adjust behavior of the interpreter somehow when debug.rb is required if possible or at least put a warning message into debug.rb?

        m.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to