Re: Perl debugging
- From: Dave Weaver <zen13097@xxxxxxxxx>
- Date: 30 Sep 2005 07:27:37 GMT
On 29 Sep 2005 09:26:17 -0700, aizenman@xxxxxxxxx <aizenman@xxxxxxxxx> wrote:
> Ah, one more question. Is there any way that I can tell the debugger
> to break at a certain point in a different file than the one I start
> in? I.e.
>
> DB<3> b foo.pm:23
> Subroutine main::foo not found.
I'm no debugger expert, but you could always use 'f' to select the
"current file", then 'b' to set the breakpoint.
DB<3> f Foo.pm
DB<4> b 23
Or if you just want to break when a certain sub within Foo is called
(assuming Foo.pm contains package Foo):
DB<5> b Foo::mysub
.
- References:
- Perl debugging
- From: aizenman
- Re: Perl debugging
- From: aizenman
- Perl debugging
- Prev by Date: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
- Next by Date: Re: Perl time and Mysql time
- Previous by thread: Re: Perl debugging
- Next by thread: Re: Perl debugging
- Index(es):
Relevant Pages
|