Tonight, I had a great idea on how to debug running ruby applications: One simply needs to write a kind of irb clone to run on a specifc port which it can be accessed at.
By telnetting to that port, one then can execute arbitrary commands in the scope of the running program. It should be even possible to reload large parts of the application, at runtime.
Currently I have been too busy to start any coding on it—I call it rival, ruby interactive evaluator. I hope to start development tomorrow or maybe even this evening.
NP: Beatsteaks—To be strong