I use rails 2.3.2
I have simple migration file:
############
class CreatePeople < ActiveRecord::Migration
def self.up
2 / 0 # breakpoint is here
end
def self.down
end
end
############
If I run "db:migrate" using rdebug-ide debugger will not stop on "2/0" line, but code will be executed.
The most strage thing is that I can stop on breakpoint a bit earlier in stacktrace and then I can manually step
to "2/0". E.g :
############
# activerecord-2.3.2/lib/active_record/migration.rb
...
result = nil
time = Benchmark.measure { result = send("#{direction}_without_benchmarks")} #break point is here
...
############
------------
But the way - I'm using RubyMine 1.5 and
ruby-debug (0.10.3)
ruby-debug-base (0.10.3)
ruby-debug-ide (0.4.6)
P.S: Thank you guys for your great project =)
|