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 
may be different on other versions.)

And then, you'd call:

bin\jruby.exe -J-Xrunjdwp:transport=dt_socket,suspend=y,address=4000 -J-Xdebug 
spec\mspec\bin\mspec -T-X+C spec\ruby\core\filete st\identical_spec.rb

If the break point is setup correctly, say 
org.jruby.RubyFileTest.identical_p(), you should get the RubySpec execution 
halted there.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to