summaryrefslogtreecommitdiff
path: root/pod/perldebug.pod
diff options
context:
space:
mode:
authorPeter Scott <Peter@PSDT.com>2002-03-19 04:28:52 -0800
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-20 14:38:23 +0000
commita7b657eec5c9a956f5411ffb5c1dacbd8d5b6c1b (patch)
tree8729e67bf0c9067b14f2b739c40d129ab3fee1f5 /pod/perldebug.pod
parent011f8d22855f3e69d20d9a6808fe8d9789c166af (diff)
downloadperl-a7b657eec5c9a956f5411ffb5c1dacbd8d5b6c1b.tar.gz
List lexicals from debugger
Message-id: <4.3.2.7.2.20020319101746.00aa7aa0@shell2.webquarry.com> p4raw-id: //depot/perl@15363
Diffstat (limited to 'pod/perldebug.pod')
-rw-r--r--pod/perldebug.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/pod/perldebug.pod b/pod/perldebug.pod
index 5d0ef3f54d..45c2420472 100644
--- a/pod/perldebug.pod
+++ b/pod/perldebug.pod
@@ -114,6 +114,16 @@ This is similar to calling the C<x> command on each applicable var.
Same as C<V currentpackage [vars]>.
+=item y [level [vars]]
+
+Display all (or some) lexical variables (mnemonic: C<mY> variables)
+in the current scope or I<level> scopes higher. You can limit the
+variables that you see with I<vars> which works exactly as it does
+for the C<V> and C<X> commands. Requires the C<PadWalker> module
+version 0.08 or higher; will warn if this isn't installed. Output
+is pretty-printed in the same style as for C<V> and the format is
+controlled by the same options.
+
=item T
Produce a stack backtrace. See below for details on its output.