I would like to put a specific code into my perl source code to stop the
script running and bring up the Perl Debugger window. But I don't know how
to do it.
Following example should be more clear what I'd like to do...
perl -d myscript.pl
-- myscript.pl
..
..
..
for ( my $a = 0 ; $a < 10 ; $a++ ) {
..
..
breakpoint() if $^D;
..
..
}
..
..
Of course, this is a poor example, I can put the breakpoint there in the GUI
but unfortunately the routine I'm interested in is lost somewhere in the
deep tree of modules and doing "Go to line, Step In" many times doesn't make
me happy. Please suppose that I'm not familiar with std non-GUI debugger.
regards
-- Petr Smejkal
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl