views:

40

answers:

1

Hi,

I am a ruby on rails newbie. In my app i created using scaffold, breakpointer is not there under scripts directory. When i copied breakpointer from somewhere and put under scripts directory, it was giving an error. Any pointers on this will be great..

Thanks, Ayyappa

+1  A: 

Breakpointer is no longer supported, mostly because it's incompatible with newer versions of Ruby. ruby-debug, aka rdebug, is the new standard. Try this

./script/server --debug

then put the keyword

debugger

where you'd like to have a debugging session. Here is a good introduction screencast on using rdebug.

John Douthat