ruby-debug Questions
3
Solved
I use RubyMine to write and debug my Ruby 2.0 code. It uses ruby-debug-ide for that purpose. I want to know if a program is running in debug mode.
I know there is the Ruby $DEBUG global variable, ...
Hanshaw asked 26/2, 2014 at 11:21
15
Solved
My Rails is 3.2.1.4, Ruby is 1.9.3p448.
I got an error when I install ruby-debug:
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug:
ERROR: Failed to buil...
Seismic asked 31/10, 2013 at 2:21
7
Solved
Often, when a test fails, I spend quite sometime trying to figure out the what caused it to fail. It'd be useful if RSpec could kick off a Ruby debugger when the test fails, so that I can inspect t...
Posting asked 30/4, 2013 at 0:26
4
I can't get my ruby-debug-ide to work properly. I have a basic rails app, and I would like to debug in RubyMine. Before I even start RubyMine, I need to enable rdebug-ide in my vagrant VM. When I n...
Filly asked 17/9, 2015 at 20:0
9
Solved
Say I have a loop in my code that calls the rails debugger a few times
def show
animals = ['dog', 'cat', 'owl', 'tiger']
for animal in animals
debugger
# do something else
end
Assuming I sta...
Scudder asked 31/5, 2011 at 9:37
6
Solved
I'm attempting to re-install Ruby 1.9.3 with a patch that will allow me to use ruby-debug.
When following the instructions and running
rvm reinstall 1.9.3 --patch debug --force-autoconf
It runs...
Confederation asked 5/3, 2012 at 23:57
6
Solved
When I write debugger it does not start:
NoMethodError: undefined method `run_init_script' for Debugger:Module
from /usr/local/lib/ruby/gems/1.8/gems/ruby-debug-base-0.10.3/lib/ruby-debug-base.rb:...
Balmung asked 18/4, 2010 at 20:53
2
I have started using RubyMine 6. I am working on a Rails 4, Ruby 2.1.1 project.
I am not able to find how to debug into RubyMine with Pow as a server.
Can you please point me to the right directio...
Frangipane asked 26/7, 2014 at 13:46
1
Solved
I recently blew away and re-installed rvm to fix some issues.
Now, however, when I try and install ruby-debug19 I get:
$ gem install ruby-debug19
... then ...
Building native extensions. This ...
Estis asked 19/6, 2015 at 15:50
4
I have a failing scenario in cucumber, and I'd like to debug my rails controller using ruby-debug. But if I add 'debugger' to the point where I want to break, it doesn't stop.
I tried adding requ...
Alvaalvan asked 4/2, 2011 at 13:11
6
Solved
I can't get the server to start in debugging mode:
even though I have all of the correct gems installed, the server refuses to start.
$ gem install ruby-debug
ERROR: Error installing ruby-debug:
...
Austronesia asked 2/12, 2011 at 3:56
5
Solved
I'm trying to get Ruby debugger running in one of my specs:
describe User do
it "should be valid" do
debugger
User.new.should be_valid
end
end
When I run rspec though, I get:
debugger state...
Shannan asked 27/3, 2011 at 1:28
2
Solved
On my new OSX Mavericks install, I wanted to give Rubymine a try and just can't get the debugger working (although i managed to get it working on Windows 7 with IntelliJ and the ruby plugin).
Here...
Precincts asked 10/1, 2014 at 22:31
7
Solved
I have standard ruby-head and Rails 3.1rc4.
I installed ruby-debug with following instructions from http://dirk.net/2010/04/17/ruby-debug-with-ruby-19x-and-rails-3-on-rvm/
But when i run rails s -...
Roanna asked 22/6, 2011 at 10:5
4
Solved
Does anyone know of a way to run the ruby debugger and SSL at the same time with Thin?
I've been using Thin successfully with Rails 3.0.10.
I start it using rails server --debugger, and I can deb...
Bacchanalia asked 6/1, 2012 at 4:57
1
Solved
I am writing a Rails 4 application in Ruby 2, and I am using the debugger gem to debug my code.
Here is the situation currently:
I place a debugger statement in my Rspec tests, run the tests in ...
Rootless asked 30/6, 2013 at 15:54
5
Solved
I have searched high and low for a solution. I have both linecache19 and ruby_core_source installed.
Neither of these commands will work:
gem install ruby-debug19
gem install ruby-debug19 -- --wi...
Glycerin asked 15/11, 2010 at 0:17
7
I'm having trouble installing the Ruby-Debug Gem on windows. What does this error mean? How can I fix this? Thanks
C:\Users\Steve>gem install ruby-debug
Building native extensions. This could ...
Gabelle asked 29/12, 2009 at 1:35
3
Solved
I'm trying to debug simple ruby file in Aptana 3.
class HelloWorld
def initialize()
end
def greet()
puts "hello world"
end
end
h=HelloWorld.new
h.greet
breakpoint is set to
h.gre...
Necessitous asked 22/1, 2012 at 13:21
1
Solved
I am using debugger gem in my Rails 3.2 application.
How do I view the resulting SQL statement of active record method calls on the debug console?
For eg: If I run Product.all on the debug conso...
Dues asked 10/9, 2012 at 6:12
9
Solved
I just updated to Ruby 1.9.3p0 and Rails 3.1.1. Now when I try to launch the server, it complains that I should install ruby-debug, even though it's already installed.
% rails server --environment...
Approach asked 10/11, 2011 at 23:1
1
The truth is that i am new to ruby on rails development.
Not that i can not install the gem install ruby-debug-ide on aptana studio 3.
gem install ruby-debug-ide
Temporarily enhancing PATH to inc...
Countervail asked 27/11, 2011 at 3:39
1
Solved
Is there any way to do it? I often have issues that work locally but fail on Heroku for some reason related to the environment. It would be nice to be able to run the debugger there.
Soloman asked 21/6, 2011 at 18:48
5
Solved
Possible Duplicate:
ruby-debug with Ruby 1.9.3?
I had heard rumors that ruby 1.9.3p125 has a solution for the ruby-debug19 problem, so per instructions on the RVM site, I reinstalled ...
Coercion asked 25/2, 2012 at 7:30
3
Solved
Is there any command either in debugger or ruby-debug to get a list of all gems and/or plugins loaded in memory for a Rails process? I understand only the 'require' gems are loaded but I would like...
Alveolate asked 30/4, 2010 at 22:13
1 Next >
© 2022 - 2024 — McMap. All rights reserved.