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.
[ BUILD # : 200909040632 ] [ JDK VERSION : 1.6.* ] When attempting to launch a rake task, if the debug flag is set, the rake task fails to launch properly.
Created attachment 87188 [details] Project file where problem initially discovered.
Created attachment 87189 [details] IDE Log File
Hmm, works for me with the attached project. One difference that I spotted is that I'm running on JDK 6. I'll test this with JDK 7 too, though it is not likely to be the culprit if debugging otherwise works for you.
No luck in reproducing this with jkd 7 either. Does this happen to you only with this project, and only when debugging rake tasks? Also, could you try whether running the IDE with the following params would help: -J-Djava.net.preferIPv6Addresses=true -J-Djava.net.preferIPv4Stack=false
This is happening for this project only at this point, but it is consistent for this project. I created the project as an example for the bug it is numbered after and discovered this during my project rake test. I have unloaded, reloaded, rebooted, etc... And it cosistently fails on me but only for this project.
Unfortunately I still haven't had much luck in reproducing this. Could you please try checking the backend functionality as follows: In terminal 1, in the project directory (of course you need to change the paths): Issue166285$: /home/erno/work/ruby-main/nbbuild/netbeans/ruby2/jruby-1.3.1/bin/jruby --debug -S rdebug-ide -p 1234 -d -- /home/erno/work/ruby-main/nbbuild/netbeans/ruby2/jruby-1.3.1/bin/rake breakpoint:start_test Then once the debugger is listening, in terminal 2 (also in the project directory): Issue166285$$: telnet localhost 1234 b lib/breakpoint_test/put_breakpoint_here.rb:7 start -- and see if the breakpoint gets hit. As an example here's the output for me: Issue166285$: telnet localhost 1234 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. b lib/breakpoint_test/put_breakpoint_here.rb:7 <breakpointAdded no="1" location="/home/erno/work/tmp/Issue166285/lib/breakpoint_test/put_breakpoint_here.rb:7"/>start <breakpoint file="/home/erno/work/tmp/Issue166285/lib/breakpoint_test/put_breakpoint_here.rb" line="7" threadId="1"/>c Connection closed by foreign host. Please let me know whether that works for you.