$DB::single = 1;

 "anywhere in any perl program, and the debugger will break immediately
after it executes that line. This is also a good way (the only way?) to set
a breakpoint in code that will be run at compile time."

http://stackoverflow.com/questions/8920477/how-to-set-breakpoint-on-a-particular-file-in-perl-program


2013/6/4 Marcio Ferreira <marciodesouzaferre...@gmail.com>

> Andei escrevendo no Visual Studio C# e ~viciei~ em breakpoints, alterar
> coisas em tempo de execução e etc. Conheço o perl -d, mas nao consigo ter a
> mesma sensação. Alguém aqui usa breakpoint? Alguma magia escondida por aí?
>
> []s,
>
> Marcio Ferreira
> skype: marcio.ferreir4
> (21) 8365-7768
>
> _______________________________________________
> Rio-pm mailing list
> Rio-pm@pm.org
> http://mail.pm.org/mailman/listinfo/rio-pm
>



-- 
Saravá,
Renato CRON
http://www.renatocron.com/blog/
@renato_cron <http://twitter.com/#!/renato_cron>
_______________________________________________
Rio-pm mailing list
Rio-pm@pm.org
http://mail.pm.org/mailman/listinfo/rio-pm

Responder a