From: "A. S. Bradbury" Date: 2006-09-14T19:21:12+09:00 Subject: Re: Rails->breakpointer->irb->debugger? On Thursday 14 September 2006 06:55, Dan Bensen wrote: > How do you step through your Rails code from irb? Can you drop > into the debugger, or do you have put in a zillion breakpoints? > Is there a way to add & delete breakpoints from irb, > or do you have to set them all before you request a page? I think you'll like ruby-breakpoint[1]. Just put 'breakpoint' anywhere in your code, and at that point you'll drop to an irb session where you can inspect variables, and basically do whatever you want. If that's not what you want, try googling for tutorials on using the Ruby debugger. Regards, Alex 1. http://ruby-breakpoint.rubyforge.org/