Ciao a tutti, sto cercando di configurare Aptana 3 per far girare un progetto in Rails 3 in modalità debug per sfruttare breakpoint e compagnia. Purtroppo mi sto imbattendo in diverse difficoltà e ancora oggi non riesco a farlo funzionare correttamente. N.B. Solo in debug mode intendo perchè diversamente (rails -s) il server parte senza problemi e l''applicazione funziona correttamente. Il problema è sempre lo stesso e ne riporto uno stralcio: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'': /var/lib/gems/1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so: undefined symbol: ruby_current_thread - /var/lib/gems/1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so (LoadError) .. Poi dopo qualche secondo: Could not connect to debugger on port XYZ Dove XYZ viene indicata di volta in volta come un numero di porta variabile. Ho letto i vari topic in rete che parlano dell''argomento e provato a fare i passaggi che indicano ma nulla. Queste le gemme che, tra le altre, ho installato: debugger (1.6.0) debugger-linecache (1.2.0) debugger-ruby_core_source (1.2.2) ... linecache19 (0.5.12) ... ruby-debug-base19 (0.11.25) ruby-debug-ide (0.4.16) ruby-debug-ide19 (0.4.12) ruby-debug19 (0.11.6) ruby_core_source (0.1.5) Uso una macchina Linux con Ubuntu 13.04 e Ruby 1.9.3p194 Grazie in anticipo per ogni risposta. Yuri -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/eaf6baa92bffba95372f2beab5d8206e%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
hi, do you know this? http://stackoverflow.com/questions/10120560/how-can-i-get-debug-support-in-aptana-3-with-ruby-1-9-3 http://www.agile-workers.com/web/de/2012/09/debugging-ruby-1-9-3-applications-in-eclipse/ http://stackoverflow.com/questions/9122232/how-do-i-install-ruby-debug-in-ruby-1-9-3-rails-3-2-1 hope, that at least one helps greetings Am Donnerstag, 20. Juni 2013 08:33:10 UTC+2 schrieb Ruby-Forum.com User:> > Ciao a tutti, > > sto cercando di configurare Aptana 3 per far girare un progetto in Rails > 3 in modalità debug per sfruttare breakpoint e compagnia. > > Purtroppo mi sto imbattendo in diverse difficoltà e ancora oggi non > riesco a farlo funzionare correttamente. > N.B. Solo in debug mode intendo perchè diversamente (rails -s) il server > parte senza problemi e l''applicazione funziona correttamente. > > Il problema è sempre lo stesso e ne riporto uno stralcio: > > /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in `require'': > /var/lib/gems/1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so: > undefined symbol: ruby_current_thread - > /var/lib/gems/1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so > (LoadError) .. > > Poi dopo qualche secondo: Could not connect to debugger on port XYZ > Dove XYZ viene indicata di volta in volta come un numero di porta > variabile. > > Ho letto i vari topic in rete che parlano dell''argomento e provato a > fare i passaggi che indicano ma nulla. > > Queste le gemme che, tra le altre, ho installato: > > debugger (1.6.0) > debugger-linecache (1.2.0) > debugger-ruby_core_source (1.2.2) > ... > linecache19 (0.5.12) > ... > ruby-debug-base19 (0.11.25) > ruby-debug-ide (0.4.16) > ruby-debug-ide19 (0.4.12) > ruby-debug19 (0.11.6) > ruby_core_source (0.1.5) > > Uso una macchina Linux con Ubuntu 13.04 e Ruby 1.9.3p194 > > Grazie in anticipo per ogni risposta. > Yuri > > -- > Posted via http://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e05fbd28-7ffa-4de6-b4b2-92a30f53e8a6%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Thank you for your answer. Now I think the debugger is correctly installed but when I try to start the server another error occurs. 6586: Exception in DebugThread loop: wrong number of arguments (0 for 1) Backtrace: /var/lib/gems/1.9.1/gems/ruby-debug19-0.11.6/cli/ruby-debug/interface.rb:163:in `read_command'' from: /var/lib/gems/1.9.1/gems/ruby-debug-ide-0.4.17/lib/ruby-debug-ide/ide_processor.rb:83:in `process_commands'' from: /var/lib/gems/1.9.1/gems/ruby-debug-ide-0.4.17/lib/ruby-debug-ide.rb:122:in `block in start_control'' Unfortunately there insn''t enough documentation about this problem on web. Yuri -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/aae2ec029f1a722992a308e0435cba88%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
Reading several topics I understood that ruby-debug is no more mantained. I removed all gems about it and installed "debugger" gem instead. Now the problem is: how I could start rails server using debugger? I mean: when I try to start rails server from Aptana I have this type of message: unable to find rdebug-ide ... install ruby-debug-ide. But I don''t want to use it anymore. Thanks again for your support. Yuri. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8c8586151a363ef3a60ad6cec8254bbe%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.