i can run the features from within RM, but when i set up the breakpoint(set in .rb) and run.
there are nothing happened. message(breakpoint was set in line) is displayed in console but the test don't stop in breakpoints.And i don't know what need to set up in RM.
i can run the features from within RM, but when i set up the breakpoint(set in .rb) and run. there are nothing happened. message(breakpoint was set in line) is displayed in console but the test don't stop in breakpoints.And i don't know what need to set up in RM.
--
Posting rules: http://cukes.info/posting-rules.html
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
no, because he can start the debugger but i can not start the debugger.
i have error when i run the features only, before i can call "skip" command
Doesn't seem to be Cucumber related: http://stackoverflow.com/questions/11971977/ruby-debugger-internal-error-undefined-method-skip-next-exception-for-deb
i update RM to 6.0.2
i do:
1. install debug gem with:
gem 'linecache19', :git => 'git://github.com/mark-moseley/linecache'
gem 'ruby-debug-base19x', '~> 0.11.30.pre4'
gem 'ruby-debug19'
2. I set up the "debug ":
When /^I press "([^\"]*)"$/ do |button|
puts current_url
debugger
click_button(button)
end
1. when i run => "debug" from the run menu (debug gem was installed for RM) i have the error :
/home/alex/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/thread.rb:71:in `sleep': deadlock detected (fatal)
from /home/alex/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/thread.rb:71:in `wait'
from /home/alex/.rvm/gems/ruby-1.9.3-p374@blog/gems/ruby-debug-ide-0.4.22/lib/ruby-debug-ide.rb:78:in `block in prepare_debugger'
from <internal:prelude>:10:in `synchronize'
2. when i run features(from console and run from RM) and i have error:
INTERNAL ERROR!!! undefined method `line_at' for Debugger:Module
/home/alex/.rvm/gems/ruby-1.9.3-p374@blog/gems/ruby-debug19-0.11.6/cli/ruby-debug/processor.rb:99:in `print_location_and_text'