[Mongrel] How to get a decent stack trace?

Andreas Korth andreas.korth at gmx.net
Thu Oct 12 18:14:14 EDT 2006


On 13.10.2006, at 01:25, Zed A. Shaw wrote:

>> ERROR: You have a nil object when you didn't expect it!
>> The error occured while evaluating nil.readpartial
>
> Hmm, that should happen.

You're actually right. If it messes around with the Thread class,  
this is exactly what it deserves. I'm doing such silly things  
sometimes, it frightens me.

> killall -USR1 mongrel_rails
>
> When you do this it toggles "USR1 Debugging" which dumps more stack  
> traces and information.

Thanks Zed - that did the trick.

Cheers,
Andy



More information about the Mongrel-users mailing list