![]() I'm having the same problem as others on this topic, and I believe I have tried all of the suggestions, but I still get error:Ĭannot connect to the debugged process at port 46679 in 10s Running RubyMine 3.2.4, Ubuntu 10.10 running on Oracle VM VirtualBox, and Ruby 1.9.2p312 provided via RVM. Thread dumps folders where created, but they are empy (0 bytes). The command RubyMine was using to launch the application: /opt/local/bin/ruby -e STDOUT.sync=true STDERR.sync=true load($0=ARGV.shift) /opt/local/bin/rdebug-ide -debug -port 49429 - /Users/aliaksandrkaushovik/dev/benefits/script/server -p 3000 -b 0.0.0.0 -e development 12:26:17,998 INFO - Couldn't connect to debugger: : Cannot connect to the debugged process at port 49429 in 10s:įast Debugger (ruby-debug-ide 0.4.9) listens on :49429 Document was not loaded for $APP_CONFIG$/ 12:26:06,332 INFO - s. - Document was not loaded for $APP_CONFIG$/ file is null SEVERE: Fast Debugger (ruby-debug-ide 0.4.9) listens on :49429 Localhost:benefits20100303 aliaksandrkaushovik$ /Applications/RubyMine\ 2.0.2.app/Contents/MacOS/rubymineġ2:26:17 PM dumpStream I've added =true to ist and into bin/idea.properties (this is where I was adding idea.is.internal = true before), then I've started RubyMine from Terminal: I do have a different Firewall application: LittleSnitch, but I also disabled it for testing. My default Mac Firewall is currently OFF - I checked. RubyGems version 1.3.5 also installed through MacPorts.Ruby 1.8.7 ( patchlevel 249) ( installed through MacPorts!).Killing.įast Debugger (ruby-debug-ide 0.4.9) listens on :59843 Please help, I will provide any additional information if needed.Ĭannot connect to the debugged process at port 59843 in 10s:ĭumping and destroying process, when the debuggee process is running. ![]() Then I gave up and downloaded NetBeans 6.8, and debugging works there out of the box.Īlso I tried to increase the timeout value as suggested by the error message, but I couldn't find that option. I'm still getting this error: Cannot connect to the debugged process in 10s. I've tried all of the above (except for remote debugging), but it didn't help. In RubyMine 1.0.5/1.1 we improved our ruby interpreter searcher and now it also looks in ~/.profile (for initializing first RubySDK). Apple suggests to use ~/.MacOSX/ist for extending environment variables for Applications. E.g if you launch RubyMine from console it will have expected environment. Terminal.app understands settings from ~/.profile and all other applications (including RubyMine) gets some other default standard env settings. Unfortunately Apple implement working with environment variables in a quite strage way. RubyMine looks for 'ruby' interpreter in your PATH env variable. The options were few when I got into this stuff. I think most of my RoR stuff is in '/opt/local/' because I originally setup much of my RoR stuff via macports. I had to replace that value in the field with '/opt/local/bin/ruby' to get it to work. When I add an SDK, if I wait a bit RubyMine auto-populates the field with '/usr/bin/ruby'. Undefined method `cli_debug=' for Debugger:Module xml-debug Debug self - sends information s for debugging ruby-debug itself d, -debug Debug self - prints information for debugging ruby-debug itself p, -port PORT Port used for remote debugging h, -host HOST Host name used for remote debugging The command line interface to ruby-debug is rdebug. ![]() Usage: rdebug-ide is supposed to be called from RDT or NetBeans. I saw a reference to it in another post but I had no idea where it was located) : Are you able to debug your application using rdebug from command line?ġ) Here is the info (thanks for the clarification on the location of the idea.properties file. You'll get some rdebug debug info in console. It will enable debug output for ruby debugger. ![]() Please add idea.is.internal=true to file idea.properties in bin folder of your RubyMine installation folder. Well let me ask you a couple of questions.ġ. Hello Ed, I can run Ruby and RoR projects. usr/bin/ruby -e STDOUT.sync=true STDERR.sync=true load($0=ARGV.shift) /opt/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.6/bin/rdebug-ide -port 54600 - /Users/ed/Ruby/tester/t.rb opt/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.6/bin/rdebug-ide:82: undefined method `debug_program' for Debugger:Module (NoMethodError) opt/local/lib/ruby/gems/1.8/gems/ruby-debug-ide-0.4.6/bin/rdebug-ide:51: warning: already initialized constant ARGV I am getting the following when I try to debug:Ĭannot connect to the debugged process in 10s: I have done my best to look at all similar posts and try to apply their solutions to my problem with no success.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |