On Sun, 15 Jul 2001, Doug MacEachern wrote:
> On Sat, 14 Jul 2001, Stas Bekman wrote:
>
> > doable. I know you don't want to lose -d shortcut :)
>
> yeah :)
>
> > 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.
>
> by 'always' i meant whenever there is a -breakpoint, it should get set at
> ap_init_modules. rather than have a special case -debug-hook_init, you
> would just say -breakpoint modperl_hook_init
ok
> > 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.
>
> remind me what is development mode again, just turning up the trace level
> or more stuff?
I'm thinking about these 2 modes:
user mode:
Running mod_perl under debugger to get the segfault trace
and send it to the list.
=> the invocation should be as simple as possible (read: -d)
devel mode:
Running mod_perl under debugger during the process of adding new
features and debugging existing ones.
=> the invocation can be more complex (read: more command line options)
_____________________________________________________________________
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]