Question : Is there a "debug" mode in Ruby ?

I am learning ruby and use the free Komdo IDE from active states.

I make "logic" errors as a new programmer does.  

Is there a ruby -xxxx that will automaticly dump all variables to the command line as it runs or something to make me less of a fool ?  

Other solutions ?

What does the 300$ package from active states give me in this area ?

Answer : Is there a "debug" mode in Ruby ?

Well I don't know what' you expect but Netbeans 6.5 has a very well integratd debugger, I still doubt that there is something to dump all variables (because of the sheer mass) but you can watch those interesting  to you without much troubles. And it also shows the current important variables automatically.

The Ruby debugger is invoked on the commmand line with ruby -rdebug. And you can than watch variables just by typing them

So I can't see what the  problem may be....

Regards
Friedrich
Random Solutions  
 
programming4us programming4us