Front page | perl.debugger |
Postings from August 2008
Re: accelerated stepping
Thread Previous
|
Thread Next
From:
Richard Foley
Date:
August 29, 2008 07:46
Subject:
Re: accelerated stepping
Message ID:
200808291653.37397.Richard.Foley@rfi.net
Hi Heiko,
> I could imagine $DB::single can be set to 3 for this 'accelerated'
> stepping.
>
It's a good idea.
> May I reserve the capital N for that command?
>
Nearly :-)
I only mean you could use either 'nn' or 'N', equally. To be honest, the
former appeals a little more as an extention to the existing command, while
the latter seems to be a bit more distinct, although I don't actually have
another suggestion for the latter at the moment either. If you implement it
though, I suspect you can use any letter you choose, certainly at first...
--
Richard Foley
Ciao - shorter than aufwiedersehen
http://www.rfi.net/
On Wednesday 27 August 2008 21:33:25 Heiko Eißfeldt wrote:
> Hi,
>
> often during single-stepping I am missing a command like 'n' to step
> over not only subroutine calls, but also complete map and grep-commands.
>
> Example:
>
> Instead of
>
> main::(perldb_demo.pl:4): my @a = (1..10);
> DB<1> n
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:7): print "found\n";
>
> I would like to use
>
> main::(perldb_demo.pl:4): my @a = (1..10);
> DB<1> N
> main::(perldb_demo.pl:6): if (0 < scalar grep { $_ == 9 } @a) {
> DB<1>
> main::(perldb_demo.pl:7): print "found\n";
>
> How could that be done?
>
> I could imagine $DB::single can be set to 3 for this 'accelerated'
> stepping.
>
> May I reserve the capital N for that command?
>
> Thanks,
> Heiko
> --
>
Thread Previous
|
Thread Next