Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting breakpoint before debugging?

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top