Re: [jruby-dev] Problems debugging with netbeans

2011-01-23 Thread Miquel Oliete
Hi Hirotsugu I got it using my laptop with a kubuntu installed. I don't know what is happening, but I'll check my debian and windows systems trying to find out why it doesn't work. On the other side, I will try your two suggestions. Thanks for your help. Kind regards Miquel On Fri,

Re: [jruby-dev] Problems debugging with netbeans

2011-01-22 Thread Hirotsugu Asari
Here's a better idea. Use the NetBeans as the debugger server, listening on port 4000, and remove "server=y" from the JRuby invocation. In this scenario, you'd choose "Debug" -> "Attach Debugger…" from NetBeans, and then "SocketListen" as the connector. (I'm using 7.0 beta, so precise labels ma

Re: [jruby-dev] Problems debugging with netbeans

2011-01-21 Thread Hirotsugu Asari
Are you saying that you start the jruby.exe, then switch over to NetBeans to attach the debugger to it, but then by the time NetBeans tries to connect to the spec process, NetBeans says it's gone? If so, I suspect that the spec did run too fast for you. I recommend developing a faster reflex. J