summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2002-08-05 01:55:33 +0100
committerhv <hv@crypt.org>2002-08-12 11:57:17 +0000
commitd672126634c5e568812ed35d4c8ea53a9a55ee4c (patch)
tree945dc0356b4ee4a487d37b526ec251ffa716354b /dump.c
parent75ea820e56eb2905cb7fed3312e2bd10c18778d5 (diff)
downloadperl-d672126634c5e568812ed35d4c8ea53a9a55ee4c.tar.gz
add verbose stack display option, -Dvs
Message-id: <20020805005533.B26111@fdgroup.com> p4raw-id: //depot/perl@17718
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/dump.c b/dump.c
index 7828e9431b..83fd09e75f 100644
--- a/dump.c
+++ b/dump.c
@@ -1391,7 +1391,16 @@ Perl_runops_debug(pTHX)
"WARNING: %"UVxf" changed from %"UVxf" to %"UVxf"\n",
PTR2UV(PL_watchaddr), PTR2UV(PL_watchok),
PTR2UV(*PL_watchaddr));
- if (DEBUG_s_TEST_) debstack();
+ if (DEBUG_s_TEST_) {
+ if (DEBUG_v_TEST_) {
+ PerlIO_printf(Perl_debug_log, "\n");
+ deb_stack_all();
+ }
+ else
+ debstack();
+ }
+
+
if (DEBUG_t_TEST_) debop(PL_op);
if (DEBUG_P_TEST_) debprof(PL_op);
}