| Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | About BLU |
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_/'
_,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|' ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`