When I put something like:
breakpoint[“here is the place”]
in my code (say, in the controller), the breakpointer will run
correctly. But after I exit out of the breakpointer, the browser gets a
“NoMethodError” saying:
You have a nil object when you didn’t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.[]
This happens even if there’s no array in the controller. If I take the
breakpoint out of the code, the program runs fine.
What I’d like to be able to do is put breakpoints in my code, have the
breakpointer find them and stop on them, then when I exit out of the
breakpointer it should continue on with the program. Anyone else ever
get NoMethodErrors when using breakpoint?