in reply to Re: PadWalker and Safe - getting the lexicals
in thread PadWalker and Safe - getting the lexicals

Thanks for the answer.
Regarding to your idea - I was sure I can execute the debugger only via "perl -d", but since you reffered as if it is possible other way I looked again.

From "perldebguts" under "Debugger Internals":
"These mechanisms are enabled by calling Perl with the -d switch."
It seems that the sub DB::DB is not executed unless you use the "-d" flag.
Do I miss something here ???

Thanks,
shushu
  • Comment on Re: Re: PadWalker and Safe - getting the lexicals

Replies are listed 'Best First'.
Re: Re: Re: PadWalker and Safe - getting the lexicals
by shushu (Scribe) on Oct 10, 2002 at 14:01 UTC
    And another note (sorry I do it in parts...)

    From looking around I understand that the problem to enable the debugger. In Apache, when wanted to enable the debugger, it seems that special code was needed:
    From modperl archive (http://www.geocrawler.com/archives/3/182/2000/12/0/4895655/) -
    > there is quite a bit of overhead when -d is enabled. have a look at
    > Apache::DB.xs, there's in init_debugger() function todo what -d does. if
    > another method was added to turn it off, after the registry script was
    > compiled, the overhead would be reduced a great deal.

    shushu