From: Ezra Zygmuntowicz Date: 2006-09-16T07:37:51+09:00 Subject: Re: not finding a breakpoint + values are nil On Sep 15, 2006, at 1:55 PM, Dan Bensen wrote: > Rick DeNatale wrote: > >> Well I'm not sure what else is in your real code, but I just tried >> this, and it works. > > Does it work in a Rails app? Breakpoints in the controller file > work, and everything else works from the command line, but other > than breakpoints in the controller file, I haven't gotten anything > to work from Rails: > > * breakpoints > * printing to standard output > * printing to a log file > * made the class free-standing, not derived from anything > * require 'breakpoint' > * require 'rubygems'; require_gem 'ruby-breakpoint' > > Nothing. Not one single thing has worked outside the controller > file. And there's not even a useful error message, just an > "Internal Server Error" on the client. I have no idea what I'm > missing. Is there some special place the files have to be? I have > them in a subdirectory of controllers. > > -- > My name is dsb, and I'm at prairienet, which is an O-R-G. > Breakpoint is broken in ruby1.8.5. Maybe that is your issue? -Ezra