|
From: Eric L. G. <er...@ba...> - 2001-08-02 06:49:01
|
From the Ruby book:
"Ruby comes with a debugger, which is conveniently built into the base
system. You can run the debugger by invoking the interpreter with the -r
debug option, along with any other Ruby options and the name of your
script:
ruby -r debug [options] [programfile] [arguments]
"The debugger supports the usual range of features you'd expect, including
the ability to set breakpoints, to step into and step over method calls,
and to display stack frames and variables."
Okay, so I don't prefer to use 'gdb' nowdays, but it's still better than
no debugger at all :-).
--
Eric Lee Green Web: http://www.badtux.org
GnuPG public key at http://badtux.org/eric/eric.gpg
Free Dmitry Sklyarov! [ http://www.eff.org ]
|