httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarek Kucypera <jar...@netstellar.com>
Subject Re: [可能是垃圾邮件] Re: how to debug module using gdb
Date Thu, 28 Feb 2008 09:59:12 GMT

> I have done as you said. start httpd within gdb.
> but it seemed that it is not useful. i can not still step into my function.
>
>   
Hmm, have you compiled your module with debug info ? Are you sure httpd
loads your module ?
I use gdb 6.7.1 on linux and it nicely delays setting breakpoints in
not-yet-existing code until particuar
shared library is loaded (i.e. when setting such breakpoint, it stores
it as "unresolved" and resolves
it while loading the library).

J.K.

Mime
View raw message