On Sat, 30 Dec 2000, Chris Nokleberg wrote:
 
> oooh, cool. I've added this to Apache::DB.xs:
> 
> int
> stop_debugger()

nice, i'll add that for the next version.
 
> It appears that setting PL_perldb to zero is all that's required to turn
> off the debugger! I thought I might have to fiddle with the symbol tables
> but this seems to work.

yeah, that should do it.
 
> I've attached the latest version of Apache::NiceRegistry (suggestions
> welcome) below. Not sure this is the right thing to do , but I call
> Apache::DB::init_debugger directly because I need the return value (don't
> want to stop_debugger if it was turned on outside of this handler), and I
> don't want the warning that Apache::DB->init produces.

calling init_debugger is fine.
 
> Also, why does Apache::DB unset $Apache::Registry::MarkLine?

it was breaking Apache::SmallProf i think.  it should local-ize that
change at least.

Reply via email to