[hatari-devel] CPU breakpoints and single-stepping
npomarede at corp.free.fr
npomarede at corp.free.fr
Sun Jun 7 22:53:01 CEST 2009
On Sun, 7 Jun 2009, Thomas Huth wrote:
> On Sun, 7 Jun 2009 17:59:48 +0200 (CEST)
> npomarede at corp.free.fr wrote:
>
>>> Well, but then you could only step one instruction. What if you
>>> want to skip 100 instructions? With my current implementation, this
>>> is possible...
>>
>> Thomas, what about an alias for the special case of step 1
>> instruction ?
>>> From the code, it seems you need to type 'c 1' to continue and step
>>> 1
>> instruction ; what about an alias 'z' that would do just that ?
>
> Is this really necessary? With libreadline enabled, you already get a
> nice history, so for stepping through your program with single steps,
> you type "c 1" once, then simply press the <cursor up> and <return> the
> next time to repeat the command. That's two key presses per step, same
> amount as when you press 'z' and <return> ... ?!
>
That was just a "cosmetic" idea ; I agree typing "c 1" is enough, it's
just I was used to this kind of key :) (I think monst use ctrl+z too for
single stepping)
More information about the hatari-devel
mailing list