Описание тега ruby-debug
The purpose of a debugger ruby-debug is to allow you to see what is going on “inside” a Ruby program while it executes.
The purpose of a debugger ruby-debug is to allow you to see what is going on “inside” a Ruby program while it executes.
It can do four main kinds of things (plus other things in support of these) to help you catch bugs in the act:
- Start your script, specifying anything that might affect its behavior.
- Make your script stop on specified conditions.
- Examine what has happened, when your script has stopped.
- Change things in your script, so you can experiment with correcting the effects of one bug and go on to learn about another.