This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans IDE Dev (Build 070522) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Linux version 2.6.20-15-generic running on i386 en_US (nb); UTF-8 ------------------------- - create rails app, setup native ruby - run app with F6 - if you try to launch debugging (F5), it does not work, no new output tab opens, and debugging session is not started, F5 only causes to invoke new browser window...the expected behaviour would probably be to start webrick on some other port. The same vice versa, if webrick is running in debugging session, it's not possible to start it in non-debugging session
The same for F6, followed by debug-single-file and other combinations. We can either start separate servers for running and debugging or we may restart the server. One of us will do it into 6.0.
Reassigning this issue to newly created 'ruby' component.
For 6.0 perhaps the best solution is to track in RailsServer whether the server is in debug mode. When you try to debug a file, if the server isn't in debug mode offer to restart it. What do you think Martin?
> When you try to debug a file, if the server isn't in debug mode offer to restart it. Yup, probably with "OK/Cancel" dialog. Hopefully for 6.0.
I have fixed this in a way that the server is automatically restarted in debug mode when a debug action is triggered and server is already running in 'normal' mode. Since then the server stays in debug mode. Without question dialog. It is easy to add; but too much question is not good and this case seems clear to me. Please comment if you do not agree. railsprojects/src/org/netbeans/modules/ruby/railsprojects/server/RailsServer.java; new revision: 1.12; previous revision: 1.11 projects/src/org/netbeans/modules/ruby/rubyproject/execution/ExecutionService.java; new revision: 1.13; previous revision: 1.12