Re: using dbi with mod_ruby

Cameron McBride <[email protected]> Mon, 16 Aug 2004 08:41:49 -0400
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Greetings,

> which is what it was doing before and is now doing again. Normally I'd
> reach for strace or something, but as this is behind apache and
> mod_ruby so the question is how to get a trace out of this.

gdb /path/to/your/apached
set args -f /your/httpd.conf -X
r
#=> you get the segfault
BT
#=> you see the backtrace

You might want to compile mod_ruby with debugging symbols though. 
Hope that helps.

Cameron