Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Ruby Debug is impossible to get working in 1.9.3.

Ruby 1.9 ships with a debugger:

    require 'debug'
Besides, I've often find Pry way more useful: https://github.com/pry/pry


Thanks for the heads up. I've searched far and wide to find any sort of docs for the built in debugger. ruby-debug was incredibly easy to use. require 'debug' sets a breakpoint, but I cant figure out any way to interact with it.

I use pry, however I've found it's very unreliable for stepping into shoulda tests, and often it errors out. I haven't been able to find stable alternatives to the most common ruby-debug commands 'l', 'e', 'n' and 'c'.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: