Guest_imported
New member
- Jan 1, 1970
- 0
I read it was possible to set breakpoints before using the debugger by placing a few lines of code in a script. I know the debugger package is DB and the lines to be debugged are in an array (of hashes?) called something like "dbline".
I tried this:
use DB;
push @{DB:dbline}, {$line_to_stop_at => 1};
but to no avail. Anyone know the correct syntax or the exact data structure in DB?
This would speed up my debugging time immensely. Thanks!
I tried this:
use DB;
push @{DB:dbline}, {$line_to_stop_at => 1};
but to no avail. Anyone know the correct syntax or the exact data structure in DB?
This would speed up my debugging time immensely. Thanks!