summaryrefslogtreecommitdiff
path: root/lib/perl5db.pl
Commit message (Collapse)AuthorAgeFilesLines
* perl -d: display lines inside subroutines.Shlomi Fish2011-12-291-4/+11
| | | | | | 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-2/+2
| | | | | | 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-2/+29
| | | | | | | 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.
* Increase perl5db.pl’s version to 1.35Father Chrysostomos2011-12-061-1/+1
|
* perl -d bugfixes and testsShlomi Fish2011-12-031-3/+23
| | | | | 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-11/+23
| | | | | | | | | | | | | 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.
* [RT #36079] Convert ` to '.jkeenan2011-11-221-66/+66
|
* Add enable/disable commands for breakpoints in perl -dShlomi Fish2011-09-041-1/+87
|
* Break upon <filename>:<line>Shlomi Fish2011-06-151-3/+24
|
* allow features inside interactive debuggerSalvador Fandino2011-06-111-0/+6
|
* Refer to X11 rather than "X windows"Dominic Hargreaves2011-06-041-3/+3
|
* Increase perl5db.pl’s $VERSIONFather Chrysostomos2011-05-181-1/+1
|
* [perl #87740] perl debugger restart fails on WindowsLouis Strous2011-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start debugger for some perl script, enter "R" command to restart. Get no restart, but error message about POSIX macro _SC_OPEN_MAX and termination of debugged program. Entering "R" again yields a similar error message and terminates the debugger. Lines 3332-3335 of perl5db.pl read: >> my $max_fd = 1024; # default if POSIX can't be loaded if (eval { require POSIX }) { $max_fd = POSIX::sysconf(POSIX::_SC_OPEN_MAX()); } << POSIX Is available but POSIX::_SC_OPEN_MAX is not defined on Windows. This yields an exception, which means that the "restart" code follow- ing these lines is not executed, so no proper restart is done. If POSIX weren't available at all, then a default value of 1024 would be used for $max_fd. A workaround is to not cause an exception if _SC_OPEN_MAX is not defined, but instead use the default value that has already been defined in case POSIX cannot be loaded at all. Do this by wrapping line 3334 of perl5db.pl in an eval { }. Then on Windows the default value of 1024 gets used for $max_fd, just like if POSIX were not available at all. This seems to work OK for me on Windows 7. I can now restart the debugger, and breakpoints are retained.
* Fix typos (spelling errors) in lib/*Peter J. Acklam) (via RT2011-01-071-12/+12
| | | | | | | | | # New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81890] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81890 > Signed-off-by: Abigail <abigail@abigail.be>
* Actuall excise 'Apollo DomainOS' support. We officially killed it in 5.11.0. ItJesse Vincent2011-01-041-1/+0
| | | | hadn't worked for years before that.
* Revert "Configure has a path to less and perl5db.pl can use it"Rafael Garcia-Suarez2010-11-281-6/+0
| | | | | | This reverts commit bf320d637919b3a2a72298748aa76e686e9b3e45. Andy Dougherty points out that after Configure has run, the "less" config variable is no longer useful, as described in Porting/Glossary.
* Update debugger changelogJosh ben Jore2010-07-221-2/+12
|
* Debugger prints lines to the remote port when it forks and openes a new portJosh ben Jore2010-07-221-1/+1
|
* The debugger now continues to use RemotePort when it's been configured to ↵Josh ben Jore2010-07-161-14/+41
| | | | use it.
* Stop using $ENV{LESS} for parameters not intended for lessJosh ben Jore2010-07-151-3/+3
|
* Configure has a path to less and perl5db.pl can use itJosh ben Jore2010-07-151-0/+6
|
* Die with $@ instead of empty messageJosh ben Jore2010-07-101-1/+1
|
* Remove extra/useless $@ check after eval { require PadWalker } (which is ↵Josh ben Jore2010-07-101-1/+1
| | | | still checked)
* Promote eval( "require ..." ) to eval { require ... }Josh ben Jore2010-07-101-2/+2
|
* Promote eval { require( ... )} || die to mere require( ... )Josh ben Jore2010-07-101-2/+2
|
* Remove indirect object notation from debuggerJosh ben Jore2010-07-101-6/+6
|
* Document that @{$main::{'_<'.$filename}} lines are dualvar to (COP*).Josh ben Jore2010-07-101-3/+5
|
* Remove MacOS classic support from the debugger.Nicholas Clark2010-06-231-25/+1
| | | | | ExtUtils::MakeMaker removed MacOS support in 6.25, merged to blead in December 2004, so this code is vestigial, and a small runtime penalty.
* Remove use of Class::ISA from the debuggerSteffen Mueller2009-09-211-24/+15
| | | | | Instead, use mro::get_linear_isa which accomplishes the same feat. This allows us to remove another module from core.
* Removed vestigal support for Tenon Intersystems MachTen Unix layer for MacOS ↵Jesse Vincent2009-08-031-1/+0
| | | | | | Classic. Perl hasn't supported MachTen since 5.6.
* Remove the port to MiNT. It's a dead platform that hasn't had any love ↵Jesse Vincent2009-08-031-1/+0
| | | | since 5.005
* Do not use a regex in DB::subBram2009-07-251-1/+3
|
* Fix my comment about DB::sub and make it DB::DBDuke Leto2009-06-041-1/+1
|
* Bump version of perl5db.pl to 1.33, add changelog comments and fix a POD typoDuke Leto2009-06-041-2/+6
|
* Fix bug introduced in 67924fd which put the key _< with an undefined value ↵Duke Leto2009-06-031-1/+1
| | | | | | | 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 .
* Auto-complete lexicals in the debugger shellSteffen Mueller2009-05-311-2/+27
| | | | | | When typing the name of a lexical variable in the debugger shell, its name can now be tab auto-completed just like package variables. Requires PadWalker to be available. Silently skips lexicals if it's not.
* Eliminate "Old Perl threads tutorial", which describes 5005 threads.Nicholas Clark2009-04-121-1/+0
| | | | pod/perlthrtut.pod is the same material reworked for ithreads.
* Document the changes between VERSIONS 1.30 and 1.31 of the debugger.Nicholas Clark2008-12-121-0/+8
| | | p4raw-id: //depot/perl@35080
* Fix #61222 (debugger doesn't understand proxy constant subroutines, orNicholas Clark2008-12-091-19/+21
| | | | | as it turns out, anything else not-a-glob in a symbol table). p4raw-id: //depot/perl@35067
* Bump the debugger's version. Fail to update the changes.Nicholas Clark2008-12-091-1/+1
| | | p4raw-id: //depot/perl@35066
* Forgot to include lib/perl5db.pl in change #34833 Steve Peters2008-11-141-0/+63
| | | | | p4raw-link: @34833 on //depot/perl: 1ad62f649328dc563f7f21be3c384f5adf18af1d p4raw-id: //depot/perl@34836
* Add a flag PERLDBf_SAVESRC, which enables the saved lines part ofNicholas Clark2008-11-011-0/+4
| | | | | | | | PERLDBf_LINE, so that profilers (such as NYTProf) have access to the lines of the eval, without the speed impact of other parts of the debugger infrastructure. PERLDBf_LINE is unchanged. Based largely on a patch by Tim Bunce in <20081028152749.GA12500@timac.local> p4raw-id: //depot/perl@34693
* [perl #57016] debugger: o warn=0 die=0 ignored Tye McQueen2008-09-071-0/+5
| | | | | | From: "Tye McQueen" (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-9960-1216238547-448.57016-75-0@perl.org> p4raw-id: //depot/perl@34312
* [patch]perl5db.pl, perl5db.t - LINUX/UNIX/CYGWIN/VMSJohn E. Malmberg2008-04-301-13/+13
| | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <48156304.30201@qsl.net> p4raw-id: //depot/perl@33771
* Revert change #33751, at least for now: this breaks perl5db.tRafael Garcia-Suarez2008-04-271-3/+4
| | | | | p4raw-link: @33751 on //depot/perl: 216e512e84140c4f1a6711dd28168b2a82c86fd9 p4raw-id: //depot/perl@33753
* [patch]perl5db.pl - What I needed to get the forked debugger to workJohn E. Malmberg2008-04-261-4/+3
| | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <481143C3.3080500@qsl.net> p4raw-id: //depot/perl@33751
* perl5db.pl update for Mac OS X 10.5Bo Lindbergh2007-11-171-11/+43
| | | | | Message-Id: <EAF6EFA7-D069-4809-9060-B66A746BBEF2@hagernas.com> p4raw-id: //depot/perl@32361
* Patch by jlv <jloverso@mathworks.com> to stop NEXT::AUTOLOADRafael Garcia-Suarez2007-10-011-2/+2
| | | | | | from emitting warnings under the debugger. See: http://rt.cpan.org/Public/Bug/Display.html?id=25053 p4raw-id: //depot/perl@32000
* Remove support for assertions and -ARafael Garcia-Suarez2007-06-051-115/+13
| | | p4raw-id: //depot/perl@31333
* debugger history save and loadAndreas J. Koenig2007-03-081-8/+56
| | | | | Message-ID: <87y7m99n2h.fsf@k75.linux.bogus> p4raw-id: //depot/perl@30515