Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

perl breakpoints



On Tue, Sep 09, 2003 at 03:14:59PM -0400, Kevin D. Clark wrote:

> Instead of this, I'd recommend just putting the following code snippet
> on the lines that you want the breakpoint to exist at:
> 
>         $DB::single = 1;
> 
> This will cause a break to happen if you're running under the
> debugger. 
> 
> This is a lot less brittle than hardcoding line numbers.  Also, this
> code is harmless if you aren't running underneath the debugger.

That's cool...However, there are a few things.  First, it seems I wouldn't
be able to put breakpoints in the installed libraries (unless I was root or
somesuch).  And, once inside the debugger I don't see a way to disable the
breakpoint - is there one?

-- 
~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/  (___)  \|/ _,.-=~'`^`
                                               @~./'O o`\.~@
               "Knowledge is Power"           /__( \___/ )__\  *PPPFFBT!*
                  -- Francis Bacon               `\__`U_/'
 _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org