| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
# 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>
|
|
|
|
| |
hadn't worked for years before that.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
use it.
|
| |
|
| |
|
| |
|
|
|
|
| |
still checked)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
ExtUtils::MakeMaker removed MacOS support in 6.25, merged to blead in December
2004, so this code is vestigial, and a small runtime penalty.
|
|
|
|
|
| |
Instead, use mro::get_linear_isa which accomplishes the same feat. This
allows us to remove another module from core.
|
|
|
|
|
|
| |
Classic.
Perl hasn't supported MachTen since 5.6.
|
|
|
|
| |
since 5.005
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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 .
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
pod/perlthrtut.pod is the same material reworked for ithreads.
|
|
|
| |
p4raw-id: //depot/perl@35080
|
|
|
|
|
| |
as it turns out, anything else not-a-glob in a symbol table).
p4raw-id: //depot/perl@35067
|
|
|
| |
p4raw-id: //depot/perl@35066
|
|
|
|
|
| |
p4raw-link: @34833 on //depot/perl: 1ad62f649328dc563f7f21be3c384f5adf18af1d
p4raw-id: //depot/perl@34836
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <48156304.30201@qsl.net>
p4raw-id: //depot/perl@33771
|
|
|
|
|
| |
p4raw-link: @33751 on //depot/perl: 216e512e84140c4f1a6711dd28168b2a82c86fd9
p4raw-id: //depot/perl@33753
|
|
|
|
|
|
| |
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <481143C3.3080500@qsl.net>
p4raw-id: //depot/perl@33751
|
|
|
|
|
| |
Message-Id: <EAF6EFA7-D069-4809-9060-B66A746BBEF2@hagernas.com>
p4raw-id: //depot/perl@32361
|
|
|
|
|
|
| |
from emitting warnings under the debugger.
See: http://rt.cpan.org/Public/Bug/Display.html?id=25053
p4raw-id: //depot/perl@32000
|
|
|
| |
p4raw-id: //depot/perl@31333
|
|
|
|
|
| |
Message-ID: <87y7m99n2h.fsf@k75.linux.bogus>
p4raw-id: //depot/perl@30515
|