develooper Front page | perl.perl5.porters | Postings from August 2013

[perl #38966] debugger can't breakpoint until module loaded

From:
kevin dawson via RT
Date:
August 26, 2013 20:34
Subject:
[perl #38966] debugger can't breakpoint until module loaded
Message ID:
rt-3.6.HEAD-1873-1377532750-950.38966-14-0@perl.org
when you use the debugger

try the command h h

and you will see

f filename    Switch to viewing filename. File must be already loaded.
        filename may be either the full name of the file, or a regular
        expression matching the full file name:
        f /home/me/foo.pl and f oo\. may access the same file.
        Evals (with saved bodies) are considered to be filenames:
        f (eval 7) and f eval 7\b access the body of the 7th eval
        (in the order of execution).

source file     Execute file containing debugger commands (may nest).


  DB<9> L
/usr/src/Padre/Padre-Plugin-Debug/scripts/ExSewi.pm:
 31:		my $fred = $_[0];
    break if (1)
sewi.pl:
 21:	say $fred;
    break if (1)

all you have to do is load the perl.pms and set b's

imho this should be closed




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About