Ruby breakpoint debugger (in 3.5KB)
- run debugserver on a console
- require breakpoint.rb library
- place breakpoint() method wherever in your code
- run your program; when it comes to the breakpoint(), it will connect to the debugserver
- debugserver is a console like irb; write expressions on the commandline as if you are at the same place as the breakpoint()
WHY ANOTHER... ?
I dislike huge code. This library and debug server has only 3.5KB, including header and example. It just works :-)