diff options
author | David Mitchell <davem@iabyn.com> | 2010-03-30 20:26:31 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-03-30 21:06:36 +0100 |
commit | 1c98cc53150c48606faf09909b3bb3a4ebdd329f (patch) | |
tree | 61a7c5d5e57657ba657498447c571ca10e7ebcc4 /scope.c | |
parent | 099be4f1d597471eb719c9a344b7c1b55e11ba24 (diff) | |
download | perl-1c98cc53150c48606faf09909b3bb3a4ebdd329f.tar.gz |
improve -Dl debugging output
In particular, distinguish between scope and context stack push/pops,
show depth of JUMPENV stack, and show STACKINFO push/pops
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -694,6 +694,8 @@ Perl_leave_scope(pTHX_ I32 base) if (base < -1) Perl_croak(aTHX_ "panic: corrupt saved stack index"); + DEBUG_l(Perl_deb(aTHX_ "savestack: releasing items %ld -> %ld\n", + (long)PL_savestack_ix, (long)base)); while (PL_savestack_ix > base) { TAINT_NOT; |