Questions about Debugging

Questions about Debugging

am 10.10.2007 16:28:03 von Ferry Bolhar

Hi group,

I have 2 questions concerning Perl debugging:

o) When debugging code inside BEGIN blocks (including code
loaded with 'use'), one has to add

BEGIN {
$DB::single = 1;
}

at the top of the main code.

Are there plans to provide a switch to run this code automatically
before debugging starts (so there isn't need to edit the main code
for this)? Do you think a switch like this would make sense?

o) Is there a way to debug code executed as part of a source filter
(created with Filter::Simple)?

Greetings, Ferry
--

Ing Ferry Bolhar
Magistrat der Stadt Wien - MA 14
A-1010 Wien
E-Mail: bol@adv.magwien.gv.at