Re: accelerated stepping

[email protected] (Richard Foley) Sat, 30 Aug 2008 09:32:41 +0200
Newsgroups perl.debugger
Message-ID <[email protected]>
On Friday 29 August 2008 19:28:08 Heiko Ei=DFfeldt wrote:
>
> To Richard:
> Afterwards I realized, $DB::single is to be used as a bitmask.
> So it would be 8 instead of 3, since 4 is already taken.
>=20
Details, details ;-)

> The only difference should be the execution of grep/map/sort/...
>=20
> I either use 's' to do small steps or use 'n' with the intention to do
> bigger steps. But currently I cannot get this behaviour. It is not
> exactly what is documented, but this is what my expectation is (silly
> me).
> <heretic  mode off>
>=20
If you mean:

1. n <- next step over everything (including grep/map/sort).

2. s <- step into everything (including grep/map/sort).

3. forget nn and N.

Then I would think this would be (mostly very) intuitive change, and the=20
behaviour (most) people would expect from the debugger, most of the time. =
=20
You'd have to check for unwarranted side effects of course, such that block=
s=20
other than single-line grep, map and sort, remain unaffected, but otherwise=
=20
it seems to me to be a good idea.

=2D-=20
Richard Foley
Ciao - shorter than aufwiedersehen

http://www.rfi.net/