summaryrefslogtreecommitdiff
path: root/pod/perldebug.pod
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2011-12-12 16:51:00 +0200
committerRicardo Signes <rjbs@cpan.org>2011-12-28 13:27:01 -0500
commit5343a617e1832a76d9e6805260dbcd579e845218 (patch)
treee480adf7039fe0009c0776e2147e8eccd8264688 /pod/perldebug.pod
parente0538447777c738c86d5c7ae0986fc363348727d (diff)
downloadperl-5343a617e1832a76d9e6805260dbcd579e845218.tar.gz
perl -d: fixes "b . COND()".
break-dot for filename was broken due to previous commits. It was fixed now. Also documented it in pod/perldebug.pod, because it was undocumented.
Diffstat (limited to 'pod/perldebug.pod')
-rw-r--r--pod/perldebug.pod4
1 files changed, 4 insertions, 0 deletions
diff --git a/pod/perldebug.pod b/pod/perldebug.pod
index fcdb29c803..4a2f07e8e7 100644
--- a/pod/perldebug.pod
+++ b/pod/perldebug.pod
@@ -304,6 +304,10 @@ don't use C<if>:
b 237 ++$count237 < 11
b 33 /pattern/i
+If the line number is C<.>, sets a breakpoint on the current line:
+
+ b . $n > 100
+
=item b [file]:[line] [condition]
X<breakpoint>
X<debugger command, b>