Anyone getting debug to work with JRuby 1.1.4?

View: New views
4 Messages — Rating Filter:   Alert me  

Anyone getting debug to work with JRuby 1.1.4?

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Most of my projects are using JRuby 1.1.3. I just set one to use JRuby
1.1.4 (both the built in and my downloaded version) and the debugger
won't start. I am on Windows.

Is anyone else having this problem?

I can file a bug, but I want to make sure it isn't just me.

Here is some stuff from the log.

FINER
[org.netbeans.modules.ruby.railsprojects.RailsConfigurationProvider]:
Calculated configurations: {}
FINER
[org.netbeans.modules.ruby.railsprojects.RailsConfigurationProvider]:
Calculated configurations: {}
FINER [org.netbeans.api.ruby.platform.RubyPlatform]: Looking for
'rdebug-ide' executable; used intepreter: 'C:\Program Files\NetBeans
3655\netbeans\ruby2\jruby-1.1.4\bin\jruby.bat'
FINER [org.netbeans.api.ruby.platform.RubyPlatform]: Found 'rdebug-ide':
'C:\Program Files\NetBeans 3655\netbeans\ruby2\jruby-1.1.4\bin\rdebug-ide'
FINER [org.netbeans.modules.ruby.debugger.Util]: Using timeout: 30s
FINE [org.netbeans.modules.ruby.debugger.Util]: Running fast debugger...
FINER [org.netbeans.api.ruby.platform.RubyPlatform]: Looking for
'rdebug-ide' executable; used intepreter: 'C:\Program Files\NetBeans
3655\netbeans\ruby2\jruby-1.1.4\bin\jruby.bat'
FINER [org.netbeans.api.ruby.platform.RubyPlatform]: Found 'rdebug-ide':
'C:\Program Files\NetBeans 3655\netbeans\ruby2\jruby-1.1.4\bin\rdebug-ide'
FINE [org.rubyforge.debugcommons.Util]: Running [basedir:
C:\NetBeansProjects\RailsApplication7]: "C:\Program Files\NetBeans
3655\netbeans\ruby2\jruby-1.1.4\bin\jruby.bat -J-Djruby.reflection=true
-J-Djruby.compile.mode=OFF -r C:\Documents and
Settings\HP_Administrator\Local Settings\Temp\io-synchronizer42875.rb
C:\Program Files\NetBeans 3655\netbeans\ruby2\jruby-1.1.4\bin\rdebug-ide
_0.2.1_ -p 3257 -d -- script\server webrick --port 3001"
stuff cut
FINEST [org.rubyforge.debugcommons.Util]: Cannot connect to
localhost:3257. Trying again...(59)
stuff cut
FINEST [org.rubyforge.debugcommons.Util]: Cannot connect to
localhost:3257. Trying again...(1)
SEVERE [org.rubyforge.debugcommons.Util]: Error Output:
java.lang.ClassLoader:-2:in `defineClass1':
java.lang.IncompatibleClassChangeError: Implementing class
        from java.lang.ClassLoader:620:in `defineClass'
        from java.security.SecureClassLoader:124:in `defineClass'
        from java.net.URLClassLoader:260:in `defineClass'
        from java.net.URLClassLoader:56:in `access$000'
        from java.net.URLClassLoader$1:195:in `run'
        from java.security.AccessController:-2:in `doPrivileged'
        from java.net.URLClassLoader:188:in `findClass'
        from java.lang.ClassLoader:306:in `loadClass'
        from java.lang.ClassLoader:251:in `loadClass'
        from java.lang.ClassLoader:319:in `loadClassInternal'
        from org.jruby.debug.RubyDebugger:77:in `debugger'
        from org.jruby.debug.RubyDebugger:233:in `keep_frame_binding_set'
        from sun.reflect.NativeMethodAccessorImpl:-2:in `invoke0'
        from sun.reflect.NativeMethodAccessorImpl:39:in `invoke'
        from sun.reflect.DelegatingMethodAccessorImpl:25:in `invoke'
        from java.lang.reflect.Method:597:in `invoke'
        from
org.jruby.internal.runtime.methods.ReflectedJavaMethod:142:in `call'
        from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
        from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
`cacheAndCall'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
        from org.jruby.ast.AttrAssignOneArgNode:40:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:67:in `interpret'
        from org.jruby.ast.RootNode:126:in `interpret'
        from org.jruby.Ruby:2107:in `loadFile'
        from org.jruby.runtime.load.ExternalScript:58:in `load'
        from org.jruby.runtime.load.LoadService:221:in `load'
        from org.jruby.RubyKernel:830:in `load'
        from
org.jruby.RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load:-1:in `call'
        from org.jruby.internal.runtime.methods.DynamicMethod:242:in `call'
        from org.jruby.internal.runtime.methods.DynamicMethod:151:in `call'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:156:in
`cacheAndCall'
        from org.jruby.runtime.CallSite$InlineCachingCallSite:394:in `call'
        from org.jruby.ast.FCallOneArgNode:36:in `interpret'
        from org.jruby.ast.NewlineNode:101:in `interpret'
        from org.jruby.ast.BlockNode:67:in `interpret'
        from org.jruby.ast.RootNode:126:in `interpret'
        from org.jruby.Ruby:564:in `runInterpreter'
        from org.jruby.Ruby:463:in `runNormally'
        from org.jruby.Ruby:330:in `runFromMain'
        from org.jruby.Main:214:in `run'
        from org.jruby.Main:100:in `run'
        from org.jruby.Main:84:in `main'
FINER [org.netbeans.modules.ruby.debugger.Util]: Performing "kill"
FINER [org.netbeans.modules.ruby.debugger.Util]: Finishing session:
C:\NetBeansProjects\RailsApplication7\script\server (localhost:3257)
FINE
[org.netbeans.modules.ruby.railsprojects.server.RailsServerManager]:
Server starup failed, server type is:
org.netbeans.modules.ruby.railsprojects.server.WEBrick@5c13d7ff
FINE
[org.netbeans.modules.ruby.railsprojects.server.RailsServerManager]:
Could not start
org.netbeans.modules.ruby.railsprojects.server.WEBrick@5c13d7ff in 94
seconds, current server status is NOT_STARTED


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Anyone getting debug to work with JRuby 1.1.4?

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Kutler wrote:
> Most of my projects are using JRuby 1.1.3. I just set one to use JRuby
> 1.1.4 (both the built in and my downloaded version) and the debugger
> won't start.

http://ruby.netbeans.org/servlets/ReadMsg?list=users&msgNo=1939
http://www.netbeans.org/nonav/issues/show_bug.cgi?id=145548

Working on it.

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Anyone getting debug to work with JRuby 1.1.4?

by Paul F Fraser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Kutler wrote:
>
> Most of my projects are using JRuby 1.1.3. I just set one to use JRuby
> 1.1.4 (both the built in and my downloaded version) and the debugger
> won't start. I am on Windows.
>
> Is anyone else having this problem?
Hi Chris,

Not sure if this is of any help..but....I have had the same problem.
I think from memory, the debug gem as installed was not complete, so I
copied the gem from a previous version and I added the debug jar into
the project.
The debugger started, but did not run properly.  So, I am now waiting
for Martin's solution. :-)

Paul Fraser

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Anyone getting debug to work with JRuby 1.1.4?

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK thanks, I missed that email.

Martin Krauskopf wrote:

> Chris Kutler wrote:
>> Most of my projects are using JRuby 1.1.3. I just set one to use
>> JRuby 1.1.4 (both the built in and my downloaded version) and the
>> debugger won't start.
>
> http://ruby.netbeans.org/servlets/ReadMsg?list=users&msgNo=1939
> http://www.netbeans.org/nonav/issues/show_bug.cgi?id=145548
>
> Working on it.
>
>     m.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@...
> For additional commands, e-mail: dev-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...