laziness, impatience, and hubris | |
PerlMonks |
Re: Stopping script execution from within the code like Python's pdbby QM (Parson) |
on Jul 03, 2015 at 14:10 UTC ( [id://1133103]=note: print w/replies, xml ) | Need Help?? |
While Corion has answered the primary question, I have very rarely found it necessary to do this. Rather, just loading the script in the debugger and running it from there is usually the way to go.
Only if the script is very CPU intensive, and the normal debugger slowdown (~10x in my experience) is untenable, would I resort to $DB::Single. Is there a reason you don't want to use the normal breakpoint features in Perl's debugger? -QM
In Section
Seekers of Perl Wisdom
|
|