| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This patch involves addding another "perl -d" input script that contains a
subroutine that isn't called by default.
|
|
|
|
|
|
| |
Conflicts:
lib/perl5db.t
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This is another fix to the perl debugger while making sure that lines
inside subroutines will be printed in the run-time display of the perl
debugger: https://rt.perl.org/rt3/Ticket/Display.html?id=104820 .
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
This is a bug-fix to
https://rt.perl.org/rt3//Public/Bug/Display.html?id=104820 .
Both the fix and a regression tests were added.
|
|
|
|
|
| |
This patch fixes some bugs in "perl -d" (see ticket #104820) and adds
some regression tests (for the bugfixes and for better test coverage).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ages ago and which turned out to be absurdly easy to implement. It adds
an optional parameter to the t(race) command, a maximum number of stack
frames to trace below the current one:, e.g.:
t 3 - turn tracing on, trace up to 3 levels below current depth, be
silent below that
t 2 fnord() - trace up to 2 levels deep in execution of fnord()
Since it is backwards compatible I added it to the legacy command set as
well, but that's certainly debatable.
|
| |
|
|
|
|
|
|
|
| |
this is a patch to do some cleanups to lib/perl5db.t. It removes
trailing whitespace, converts multi-line strings to here-documents,
creates a _slurp function, localises variables, and has some other
improvements.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In bleadperl (NOT perl-5.12.3) perl -d's "b" command does not appear
to do anything as verified on my x86-64 Mandriva Linux Cooker machine. This
patch adds a regression test to test for it.
See:
http://www.nntp.perl.org/group/perl.perl5.porters/2011/06/msg173568.html
|
|
|
|
| |
Follow-up to 07004ebbe530fe5ce1c67e63c0b8e1c0aa77b3b9.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[perl #76872] showed a case where code like the following, run under -d,
would cause $DB::sub to get set:
$tainted_expression && func()
The tainted expression sets PL_tainted, so calling func() under -d, which
sets $DB::sub, causes it to get tainted.
Consequently any further sub calls would set PL_tainted while getting the
old value of $DB::sub (and cause the new value to be tainted too), and if
the sub was XS, then its code would be executed with PL_tainted set.
It isn't an issue with perl subs as the first nextstate op resets
PL_tainted.
|
|
|
|
|
|
|
|
|
| |
With Term::ReadLine::Gnu on @INC, the debugger output will include
terminal escape sequences even when empty otherwise. This makes
lib/perl5db.t test 7 ("proxy constant subroutines") fail.
Most of the other tests are already run with ReadLine support disabled, so
bring this one in line too.
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
in the symbol table
This patch makes sure that $filename is defined before setting the _<$filename symbol. It also
adds a test which makes sure that *no* symbols have undefined values after loading perl5db.pl .
|
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes lib/perl5db.t to not leave a db.out file behind on VMS
after a test run.
-John
wb8tyw@qsl.net
Personal Opinion Only
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
|
|
|
|
|
|
|
|
|
| |
From: "bharanee rathna" (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.6.HEAD-28750-1197415521-1978.48489-75-0@perl.org>
Just the pp_hot.c portion of this patch applied along with removing
the TODO from the test added in the previous change.
p4raw-id: //depot/perl@34833
|
|
|
|
|
| |
Message-Id: <1226658297-24025-1-git-send-email-rafl@debian.org>
p4raw-id: //depot/perl@34832
|
|
|
|
|
|
| |
under some kind of debugger (such as a profiler) to avoid confusing
things. (such as trashing the profiler output file from the harness.)
p4raw-id: //depot/perl@34204
|
|
|
|
|
|
| |
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <48156304.30201@qsl.net>
p4raw-id: //depot/perl@33771
|
|
|
|
|
| |
Message-ID: <871wcnwycq.fsf@biokovo-amd64.herceg.de>
p4raw-id: //depot/perl@31959
|
|
|
|
|
| |
Message-ID: <20070317162833.GA10670@solemn.turbinal>
p4raw-id: //depot/perl@30609
|
|
|
|
|
| |
plus fix auxiliary file path
p4raw-id: //depot/perl@29280
|
|
|
| |
p4raw-id: //depot/perl@29275
|
|
and Richard Foley.
p4raw-id: //depot/perl@29274
|