Debugger does not stop at breakpoints

Hi there,

I am currently trying to debug a Ruby on Rails (3.0.9) application with RubyMine 3.1.1. Launching the ruby proess and connecting the debugger to the ruby process kind of seems to work (at least I do not get any obvious error messages and the rails app actually starts), but the debugger consitently ignores any breakpoints I have set.

RubyMine is running on Ubuntu 11.04 with ruby 1.8.7.

Any ideas?

-- 8< --


*** LOCAL GEMS ***

abstract (1.0.0)
acl9 (0.12.0)
actionmailer (3.0.9, 3.0.1, 3.0.0, 2.3.10, 2.3.8, 2.3.5, 2.3.4)
actionmailer_host_autoset (0.3.0)
actionpack (3.0.9, 3.0.1, 3.0.0, 2.3.10, 2.3.8, 2.3.5, 2.3.4)
activemodel (3.0.9, 3.0.1, 3.0.0, 3.0.0.rc2)
activerecord (3.0.9, 3.0.1, 3.0.0, 2.3.10, 2.3.8, 2.3.5, 2.3.4)
activerecord-import (0.2.2)
activeresource (3.0.9, 3.0.1, 3.0.0, 2.3.10, 2.3.8, 2.3.5, 2.3.4)
activesupport (3.0.9, 3.0.1, 3.0.0, 3.0.0.rc2, 2.3.10, 2.3.8, 2.3.5, 2.3.4)
addressable (2.2.0)
ai4r (1.9)
ar-extensions (0.9.2)
arel (2.0.10, 1.0.1)
authlogic (2.1.6)
bcrypt-ruby (2.1.2)
bkoski-rails_env (0.8.0)
bluecloth (2.0.5)
builder (2.1.2)
bundler (1.0.3)
cache-money (0.2.5)
calendar_date_select (1.15)
cgi_multipart_eof_fix (2.5.0)
chardet (0.9.0)
chronic (0.2.3)
classifier (1.3.3)
clearance (0.8.8)
columnize (0.3.1)
composite_primary_keys (3.0.0.0, 2.3.5.1)
crack (0.1.8)
curb (0.7.8)
daemons (1.0.10)
delorean (0.2.0)
echoe (4.3.1)
erubis (2.6.6)
facebooker (1.0.74)
facebooker2 (0.0.4)
factory_girl (1.3.2)
faraday (0.4.6)
fast-stemmer (1.0.0)
fastercsv (1.5.3)
fastthread (1.0.7)
fbgraph (0.1.0.5, 0.1.0.4, 0.1.0.3, 0.1.0.2, 0.1.0.1, 0.0.9)
feed-normalizer (1.5.2)
feedzirra (0.0.24)
gem_plugin (0.2.3)
gemcutter (0.3.0)
geokit-gem (1.5.0.1, 1.5.0)
ginkel-calendar_date_select (1.16.1.2)
git (1.2.5)
hashie (0.3.0)
highline (1.6.1, 1.5.1)
hoe (2.6.2, 2.6.1, 2.3.3)
hpricot (0.8.291, 0.8.290, 0.8.289, 0.8.288, 0.8.287, 0.8.286, 0.8.285, 0.8.284, 0.8.283, 0.8.282, 0.8.281, 0.8.278, 0.8.2)
httparty (0.6.1)
i18n (0.5.0, 0.4.2)
jeweler (1.4.0)
json (1.4.6)
json_pure (1.4.6, 1.4.3, 1.2.0)
linecache (0.43)
liquid (2.0.0)
loofah (1.0.0.beta.1, 0.4.7)
mail (2.2.19, 2.2.7)
memcache (1.2.13)
memcache-client (1.8.5)
memcached (1)
mime-types (1.16)
mogli (0.0.13)
mongrel (1.1.5)
multi_json (0.0.4)
mysql (2.8.1)
mysql2 (0.2.6)
net-http-persistent (1.4.1)
net-sftp (2.0.4)
net-ssh (2.0.23)
ngmoco-cache-money (0.2.21)
nokogiri (1.4.3.1)
oauth2 (0.0.13)
pg (0.9.0)
polyglot (0.3.1)
rack (1.3.0, 1.2.1, 1.1.0, 1.0.1, 1.0.0)
rack-mount (0.6.14, 0.6.13)
rack-test (0.5.7, 0.5.6)
rails (3.0.9, 3.0.1, 3.0.0, 2.3.10, 2.3.8, 2.3.5, 2.3.4)
railties (3.0.9, 3.0.1, 3.0.0)
rake (0.9.2, 0.8.7)
rbx-require-relative (0.0.5)
rdoc (3.6.1)
rr (0.10.5)
rspec (1.3.0)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3)
ruby-debug-ide (0.4.10, 0.4.5)
ruby-hmac (0.4.0)
ruby-openid (2.1.8)
ruby-prof (0.9.2)
ruby-stemmer (0.8.2)
rubyforge (2.0.4, 2.0.3)
rubyzip (0.9.1)
sax-machine (0.0.15)
simple-rss (1.2.3)
sqlite3 (1.3.3)
sqlite3-ruby (1.3.1, 1.2.1)
st-elsewhere (0.1.5.1, 0.1.5)
thor (0.14.6, 0.14.3)
treetop (1.4.8)
tzinfo (0.3.23)
unicorn (1.1.4)
will_paginate (2.3.12)

4 comments
Comment actions Permalink

I tried RubyMine 107.261. Unfortunately, the symptoms were unchanged. Are there any relevant fixes in 107.315?

0
Comment actions Permalink

Could you check debugger on a simple script? E.g.:

name = "debugger"
puts "Hello #{name}"

place breakpoint in second line and run script in debug mode (e.g. using context menu). Does it work?

0
Comment actions Permalink

I tracked down the issue to Rails' whiny_nil feature, cf. http://youtrack.jetbrains.net/issue/RUBY-8451

0

Please sign in to leave a comment.