On Fri, 13 Jul 2001, Doug MacEachern wrote:
> On Wed, 11 Jul 2001, Stas Bekman wrote:
>
> > % ./t/TEST -debug -debugger=ddd
>
> how about reusing the current -debug: t/TEST -d ddd ?
doable. I know you don't want to lose -d shortcut :)
> > --debug-hook_init : bring the debugger to the 'modperl_hook_init'
> > function via the breakpoint (internally it first loads the mod_perl
> > DSO module via 'apr_dso_load' breakpoint.
> >
> > e.g.:
> >
> > % ./t/TEST -debug -debug-hook_init
>
> i'd rather not have a special case for this, but instead always set
> breakpoints after apr_dso_load, or better yet at ap_init_modules which
> will work for both dso and static (i think)
I'm not sure what's the definition of 'always'. There are cases where you
run -d to debug the segfault and you want the debugger to 'run' till the
segfault without any breakpoints. Whereas in other cases you want to debug
during the development and that's when the use of apr_dso_load becomes
useful.
What I'm trying to tell is that by default the -d behavior should probably
just run the server, and some other flag to turn on the development mode.
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]