astashov / vim-ruby-debugger

Vim plugin for debugging Ruby applications (using ruby-debug-ide gem)
435 stars 36 forks source link

Don't running RdbTest #97

Open dgorodnichybak opened 9 years ago

dgorodnichybak commented 9 years ago

Hello, I am trying to debug my cucumber scenario, but debugger do not starts. On single rb files it works Ok. Steps to reproduce:

  1. go to project path
  2. open vim --servername VIM
  3. set breakpoint in step_definition file
  4. open feature file
  5. rub RdbTest
  6. Recive that message ":call RubyDebugger.receive_command()"

RdbLog shows that http://pastebin.com/mBCS0SGi

astashov commented 9 years ago

I haven't tried it with Cucumber frankly. By looking at the logs, it seems like it works okay, it adds a breakpoint successfully. Don't know why it doesn't stop at it. It may happening if Cucumber does some forking under the hood and running that code in other processes, but I'm not sure, sorry.

What Ruby do you use?

dgorodnichybak commented 9 years ago

ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]