|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Cannot connect to the debugged process in 10s.Hi all,
I am running Netbeans 6.0.1 (with latest patch) in OS X (Leopard), with fastdebug installed. When I try and start the server to debug I get the following error dialog: "Warning Problem occurred during debugger start: Cannot connect to the debugged process in 10s. Error Output: /Library/Ruby/Gems/1.8/gems/ruby-debug-base-0.10.0/lib/ruby_debug.bundle: [BUG] Bus Error ruby 1.8.6 (2007-03-13) [i686-darwin8.10.1]" Has anyone else experienced this error? Any help would be greatly appreciated as I would love to try the debugging features. Thanks in advance. Cheers, Diego |
|
|
Re: Cannot connect to the debugged process in 10s.drylight wrote:
> Hi all, > > I am running Netbeans 6.0.1 (with latest patch) in OS X (Leopard), with > fastdebug installed. When I try and start the server to debug I get the > following error dialog: > > "Warning > > Problem occurred during debugger start: Cannot connect to the debugged > process in 10s. > > Error Output: > > /Library/Ruby/Gems/1.8/gems/ruby-debug-base-0.10.0/lib/ruby_debug.bundle: > [BUG] Bus Error ruby 1.8.6 (2007-03-13) [i686-darwin8.10.1]" Seems like a bug in the ruby-debug-base or Ruby itself. Does CLI debugger (rdebug) works for you? > Has anyone else experienced this error? Any help would be greatly > appreciated as I would love to try the debugging features. NetBeans 6.0.x should be used rather with ruby-debug-ide 0.1.9. So first you can try to switch to the lower version (ruby-debug-ide-0.1.10 -> 0.1.9) But I would probably try to switch to the dev build: http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-DownloadLocations (-> Continuous builds) which has overhauled infrastructure and improved Gems management and tweaked debugger (and much more). It should be stable as well (however Tor did some big changes recently, but hopefully they are OK(?)) Let me know the way you choose and whether does it help. Also note (but probably not needed in your case for now): http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-Troubleshooting Regards, m. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Cannot connect to the debugged process in 10s.Hi Martin,
Thank you for taking the time to reply. I firstly tried reverting to the previous version of ruby-debug-id, but to no avail. I then downloaded and ran the latest nightly build and.... debugging works! Thank you. Although there were a few null exceptions in general when moving around the IDE, which I can put up with, understanding it's a nightly build. The debugging was working. Regards, Diego
|
|
|
Re: Cannot connect to the debugged process in 10s.drylight wrote:
> Hi Martin, > > Thank you for taking the time to reply. I firstly tried reverting to the > previous version of ruby-debug-id, but to no avail. It's ruby-debug-ide, not ruby-debug-id. > I then downloaded and > ran the latest nightly build and.... debugging works! Thank you. > > Although there were a few null exceptions in general when moving around the > IDE, which I can put up with, understanding it's a nightly build. The > debugging was working. Yes, please file an issues you find (NPE in this case). We can fix it soon if it is big problem and you can get a new fixed build in a few hours. m. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Cannot connect to the debugged process in 10s.Martin,
Thanks. Yes, I meant ruby-debug-ide and not ruby-debug-id. Typo. I'll submit any bugs I encounter. Cheers, Diego
|
|
|
Re: Cannot connect to the debugged process in 10s.Hi guys,
I have exactly the same problem and tried many things to solve it; without luck :( Tried: - netbeans 6.0.1, 6.1, and nightly 200806040005. - creating a new project with one (simple) ruby script in it - removed ~/.netbeans - jruby instead of ruby1.8.6 -> this seems to work, but i don't want jruby :( I'm using netbeans on x86-32 ubuntu hardy with sun java 1.6. If look with ps what netbeans is trying to launch; i see the following: /usr/bin/ruby -I/home/martijn/nbs-project/RubyApplication1/lib -I/home/martijn/nbs-project/RubyApplication1/test -I/home/martijn/nbs-project/RubyApplication1/spec -r /tmp/io-synchronizer50380.rb /usr/bin/rdebug-ide -p 45020 -- /home/martijn/nbs-project/RubyApplication1/lib/main.rb relevant gem versions ruby-debug 0.10.1 ruby-debug-ide 0.1.10 ruby-debug-base 0.10.1 Any help would be greatly appreciated, thanks, Martijn
|
|
|
[FIXED] Cannot connect to the debugged process in 10s.ah the magic of posting to forums :)
I tried one more thing after my post which of course worked ! trick: removed ruby-debug, ruby-debug-base, ruby-debug-ide and reinstalled them thanks for reading, M |
|
|
Re: [FIXED] Cannot connect to the debugged process in 10s.Martijnn wrote:
> ah the magic of posting to forums :) > I tried one more thing after my post which of course worked ! > > trick: removed ruby-debug, ruby-debug-base, ruby-debug-ide and reinstalled > them Little strange. Might be, that Gem Path was not set correctly before. I was on vacation so could not react, but great you solved it! ;) Otherwise when you are having this kind of problems, the best is to run NetBeans with logging: http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-HowToFileABug and send those logs to me, to the issue, or here. I'm trying to put more diagnostic to 6.5 since JRuby vs. Ruby vs required versions by each interpreter becomes more and more fuzzy. Moreover support of Rubinius debugger will also put more complication to this issue. Regards, m. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free Forum Powered by Nabble | Forum Help |