Running my code with rdbg and using binding.break, it is a bit unfortunate that subsequently running the code without rdbg, it fails with error such as:
NoMethodError:
undefined method 'break' for an instance of Binding
Could this method become no-op if the rdbg is not loaded? If there was some concern about this, then it could print some helpful warning or what not.
In today's dev meeting, we emphasized that it's important to ensure binding.break (or debugger) is removed before release, so having it as a no-op is a bad idea.
BTW debug.gem supports specifying breakpoints by adding environment variables for example, and you can ignore them without rdbg.
However, specifying the file and line number is difficult, so I think good editor support would improve the situation.