0

I'm using RubeMine to develop RAILS code. And I'm using remote debugging between RubyMine and rdebug-ide.

All works very well, but there is a minor point the debugger failes.

In RAILS I'm using in the MODEL :

has_one_attached :paper 

When running nativly without the debugger, I can access and ask e.g:

object.paper.attached?

But the same line of code failes when running in debugger.

ActionView::Template::Error (undefined method `paper'.....

So my mind goes into the direction the debugger is the reason. Version Information:

rdebug-ide -v
Using ruby-debug-base 0.2.4.1

gem list | grep ruby-debug     
ruby-debug-ide (0.7.2)

And idea to fix that ?

Sven Kirsten
  • 478
  • 1
  • 8
  • 27
  • Which RubyMine are you using? In addition, what kind of remote SDK do you have (SSH, Docker, Vagrant)? – Olivia Jun 01 '21 at 14:17
  • I'm using RubyMine 2021.1.1 and using sshConfig. – Sven Kirsten Jun 02 '21 at 15:46
  • Just to be sure, have you added a remote SDK via Add - New Remote - SSH? – Olivia Jun 04 '21 at 11:49
  • Hi Olivia, I'm not sure - because I'm using the "Remote Debugging Feature" since years without troubles. Make it sense to delete the Remote Feature and Add/New SSH ? – Sven Kirsten Jun 12 '21 at 06:51
  • I was wondering whether in this case it will work properly (using the first way from the documentation here https://www.jetbrains.com/help/ruby/remote-debugging.html) – Olivia Jun 17 '21 at 13:36
  • yes it works very well - but not when the code hit this object.paper.attached?. – Sven Kirsten Jun 17 '21 at 19:19
  • It's worth submitting an issue on RubyMine's tracker (https://youtrack.jetbrains.com/issues/RUBY). A project sample if possible would be also helpful – Olivia Aug 30 '21 at 23:37

0 Answers0