summaryrefslogtreecommitdiff
path: root/lib/perl5db.t
Commit message (Collapse)AuthorAgeFilesLines
* Add a test for "n EXPR()".Shlomi Fish2011-12-301-1/+24
|
* perl -d: add a test for s EXPR().Shlomi Fish2011-12-301-1/+24
| | | | | This patch involves addding another "perl -d" input script that contains a subroutine that isn't called by default.
* perl -d: add a test to the 's' command.Shlomi Fish2011-12-301-1/+50
| | | | | | Conflicts: lib/perl5db.t
* Add a test for s.Shlomi Fish2011-12-301-1/+27
|
* perl -d: test for 'T'.Shlomi Fish2011-12-301-1/+39
|
* perl -d: add test for the x command.Shlomi Fish2011-12-301-1/+24
|
* Add a test for the debugger p command.Shlomi Fish2011-12-301-1/+22
|
* perl -d: display lines inside subroutines.Shlomi Fish2011-12-291-2/+24
| | | | | | 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 .
* perl -d: fixes "b . COND()".Shlomi Fish2011-12-281-1/+25
| | | | | | 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.
* Made "c [line_num]" working again.Shlomi Fish2011-12-091-1/+23
| | | | | | | 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.
* perl -d bugfixes and testsShlomi Fish2011-12-031-1/+80
| | | | | This patch fixes some bugs in "perl -d" (see ticket #104820) and adds some regression tests (for the bugfixes and for better test coverage).
* The attached patch adds to the debugger a capability I thought aboutPeter Scott2011-11-241-1/+28
| | | | | | | | | | | | | 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.
* Add enable/disable commands for breakpoints in perl -dShlomi Fish2011-09-041-1/+80
|
* Cleanup lib/perl5db.tShlomi Fish2011-06-161-68/+81
| | | | | | | 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.
* Break upon <filename>:<line>Shlomi Fish2011-06-151-1/+31
|
* Tests for #92906: perl -d has non-functional b commandShlomi Fish2011-06-151-1/+27
| | | | | | | | | | 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
* Make the new perl5db.t taint test work on VMS.Craig A. Berry2010-10-091-0/+1
| | | | Follow-up to 07004ebbe530fe5ce1c67e63c0b8e1c0aa77b3b9.
* don't taint $DB::subDavid Mitchell2010-08-251-1/+10
| | | | | | | | | | | | | | | | [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.
* Fix a test failure in perl5db.t when Term::ReadLine::Gnu is installedNiko Tyni2010-04-151-1/+1
| | | | | | | | | 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.
* Do not use a regex in DB::subBram2009-07-251-1/+9
|
* Add test case for [perl #61222] + a test case for proxy constant subroutinesBram2009-07-251-1/+52
|
* Fix test with non-threaded perlsRafael Garcia-Suarez2009-06-221-1/+1
|
* Fix skipping tests with threads in last commitRafael Garcia-Suarez2009-06-221-2/+2
|
* Merge branch 'blead' into debugger_symbolsDuke Leto2009-06-141-0/+0
|\
| * Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
| |
* | Add a test to the debugger about not having threadsDuke Leto2009-06-141-1/+11
| |
* | Skip threaded debugger tests unless $Config{usethreads}Duke Leto2009-06-141-3/+8
| |
* | Add a test for a thread-enabled debuggerDuke Leto2009-06-071-1/+7
|/
* Fix shebang line and permissions of lib/perl5db.tDuke Leto2009-06-031-1/+1
|
* Fix bug introduced in 67924fd which put the key _< with an undefined value ↵Duke Leto2009-06-031-1/+7
| | | | | | | 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 .
* patch@2009-05-25.21:50:08 perl5db.t leaves db.out behind on VMSJohn E. Malmberg2009-05-261-1/+1
| | | | | | | | | | | 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>
* [perl #48489] patch to fix perl bug #7013bharanee rathna2008-11-141-2/+1
| | | | | | | | | 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
* Add TODO test for :lvalue under -d.Florian Ragwitz2008-11-141-1/+8
| | | | | Message-Id: <1226658297-24025-1-git-send-email-rafl@debian.org> p4raw-id: //depot/perl@34832
* Skip the Perl debugger test if the harness itself is already runningNicholas Clark2008-08-171-0/+4
| | | | | | 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
* [patch]perl5db.pl, perl5db.t - LINUX/UNIX/CYGWIN/VMSJohn E. Malmberg2008-04-301-2/+4
| | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <48156304.30201@qsl.net> p4raw-id: //depot/perl@33771
* stop lib/perl5db.t failure if Term::ReadLine::Perl is installedSlaven Rezic2007-09-251-1/+4
| | | | | Message-ID: <871wcnwycq.fsf@biokovo-amd64.herceg.de> p4raw-id: //depot/perl@31959
* perl5db.t: skip test when /dev/tty is not availableAlexey Tourbin2007-03-171-0/+4
| | | | | Message-ID: <20070317162833.GA10670@solemn.turbinal> p4raw-id: //depot/perl@30609
* Tweaks to the debugger test by Richard Foley,Rafael Garcia-Suarez2006-11-151-6/+12
| | | | | plus fix auxiliary file path p4raw-id: //depot/perl@29280
* debugger test could hang if run with umask 0002Dave Mitchell2006-11-141-0/+3
| | | p4raw-id: //depot/perl@29275
* A first regression test for the debugger, by Shlomi FishRafael Garcia-Suarez2006-11-141-0/+61
and Richard Foley. p4raw-id: //depot/perl@29274