seekersoli.blogg.se

Rubymine debug
Rubymine debug






rubymine debug
  1. #RUBYMINE DEBUG INSTALL#
  2. #RUBYMINE DEBUG CODE#

Some have specific features that help you write more precise and correct code, and so on. Some work only online, while others work locally and possibly online. Many different types of IDEs are available today. You'll pick a tech stack and a programming language to learn and use, and you'll also choose an IDE, or integrated development environment, where you'll write your code. S:/code/account_groups_so/config/environment.rb:12:in `'ĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/application.rb:103:in `require_environment!'ĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.When you're first learning to code, there are a few tools you'll typically want to decide on before getting started. S:/code/account_groups_so/config/environment.rb:12:in `each' S:/code/account_groups_so/config/environment.rb:12:in `block in '

rubymine debug

#RUBYMINE DEBUG CODE#

I have also tried using a backup copy of the code and following the same steps, i also get the following error when trying to load up the debugger: Uncaught exception: cannot load such file - ruby-debugĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'ĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'ĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'

rubymine debug

So i try double clicking in the gutter of my script to create a breakpoint, RubyMine pauses for a second and then i get: D:\Ruby\Ruby193\bin\ruby.exe -e $stdout.sync=true $stderr.sync=true load($0=ARGV.shift) D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.17.beta14/bin/rdebug-ide -dispatcher-port 55451 -port 55452 - S:/code/account_groups/script/rails consoleįast Debugger (ruby-debug-ide 0.4.17.beta14, ruby-debug-base 0.11.30.pre10) listens on 127.0.0.1:55452ĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/debugger-1.1.4/lib/ruby_debug.so: warning: already initialized constant VERSIONĥ992: Exception in DebugThread loop: undefined method `errmsg' for #ĭ:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/debugger-1.1.4/lib/ruby-debug/command.rb:160:in `errmsg'įrom: D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/debugger-1.1.4/lib/ruby-debug/commands/breakpoints.rb:81:in `execute'įrom: D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.17.beta14/lib/ruby-debug-ide/ide_processor.rb:89:in `block in process_commands'įrom: D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.17.beta14/lib/ruby-debug-ide/ide_processor.rb:86:in `catch'įrom: D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.17.beta14/lib/ruby-debug-ide/ide_processor.rb:86:in `process_commands'įrom: D:/Ruby/Ruby193/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.17.beta14/lib/ruby-debug-ide.rb:160:in `block in start_control' And puts "test" #test => nil works again.

#RUBYMINE DEBUG INSTALL#

To my Gemfile, and run a bundle install from the console.įinally, i open the debugger inside RubyMine (SHIFT + F9). Which run fine, so I add gem 'ruby-debug-base19x', '0.11.30.pre10' So, following SO, I comment out debugger from Gemfile and run gem install ruby-debug-base19x -pre Reading here, however, it seems debugger is not sufficient. Looks like we have debugger in favour of ruby-debug. Gem 'ruby-prof', :require => false #, :git => 'git:///wycats/ruby-prof.git' #gem 'ruby-debug-base19', :require => false I click cancel and check my Gemfile, the only ones related to debugging present are: # Debugging The gem ruby-debug-base19x required by the debugger is currently not installed. I now try the debugger ( SHIFT + F9) and see the message: I then ensure Ruby is working: Tools > IRB Console > puts "test" #test => nil - Works idea directory) and am prompted to run bundle install which I do (from console) as requested. I open up the directory in RubyMine (remembering first to delete the. I then try to begin working with my team's ruby code. having removed all previous ruby and gem directories) install of Ruby 1.9.3, Ruby Gems, DevKit and Rails (following this guide) - that works fine. So, I am struggling to get debugging working in RubyMine 4.5 using Ruby 1.9.3, my steps are as follows:įresh (i.e. My apologies for the length of the question, but I want to make it clear I am not making any stupid mistakes!








Rubymine debug