We need more infos what you did!
Did you manually try to set a breakpoint? Maybe in a BEGIN-block?
If not, do you have any debugger code in your script?
Try grepping for things starting with "DB::"
UPDATE
Not every source line results in an atomic step at run-time where you can set a breakpoint.
e.g.
- Many lines are grouped together into one step.
- They were only relevant at compile-time.
- Were NOPs (no-operations) like empty lines or comments
- ...
See the following snippet from "Programming Perl" for examples:
To look at a "window" of source code around the breakpoint, use the w command:
DB<2> w
5 }
6
7 sub infested {
8==>b my $bugs = int rand(3);
9: our $Master;
10: contaminate($Master);
11: warn "needs wash"
12 if $Master && $Master->isa("Human");
13
14: print "got $bugs\n";
DB<2>
As you see by the ==> marker, your current line is line 8, and by the b there, you know it has a breakpoint on it. If you had set an action, there also would also have been an a there. The line numbers with colons are breakable; the rest are not.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.