Ruby Debugger Gotcha

I did something without realizing the consequences, and thought
someone might benefit from my fumble (or maybe someone can offer a
correction).

I’ve been debugging a gem using the ruby debugger gem. Works a treat!
But while in a debugging session, I edited one of the files in the gem
library, and the debugger seems to have reread this file, but of
course is still executing the older file, so the lines are off a bit.
Seems best to not do this. :slight_smile:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs