Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Neat Debugger tricks

by bsb (Priest)
on Nov 17, 2005 at 09:42 UTC ( #509344=note: print w/ replies, xml ) Need Help??


in reply to Neat Debugger tricks

I often have a dbg script for a project that sets up the environment and a few objects, saving me from doing that manually each time I want to try something out.

#!/usr/bin/perl -d # Make the debugger run through to $DB::single=1 BEGIN { DB::parse_options("NonStop=1"); } # Setup environment to play around in use My::Module; $some_thing = My::Module->new(); $DB::single=1; $ending = "You're about to start destruction (press w)"; __END__


Comment on Re: Neat Debugger tricks
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://509344]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-07-06 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls