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

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

kevin dawson via RT
August 26, 2013 20:34
[perl #38966] debugger can't breakpoint until module loaded
Message ID:
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/ 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
 31:		my $fred = $_[0];
    break if (1)
 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About