[hatari-devel] Further debugger changes for the Hatari v1.3 release
Eero Tamminen
eerot at users.berlios.de
Sat Aug 8 13:12:55 CEST 2009
Hi,
(I put this to the devel-list as this will be user visible change.)
On Saturday 08 August 2009, Eero Tamminen wrote:
> On Saturday 08 August 2009, npomarede at corp.free.fr wrote:
> > Could it be possible to map 'pause' key to pause and shift+pause to
> > enter the debugger?
It will be AltGr + Pause.
This is what the Hatari shortcut handling expects and it doesn't support
specifying other modifiers.
> -D option could then switch pause & debugger keys around...
I made it to switch just which one needs the AltGr modifier key. And you
can do that also from the debugger with "setopt -D" if you forgot the -D
option from the command line. And btw, -D is still needed for exception
debugging, that cannot be enabled by default.
An end user concern is user accidentally invoking debugger and if console
isn't visible, not knowing how to continue Hatari (and if user didn't run
Hatari from console, he can only kill it as the UI window doesn't react at
all). Debugger shows now "Console Debugger" in statusbar when it's invoked.
I also renamed keyDebug config file option to more appropriate keyPause and
added keyDebugger option (as keyDebug is now set in people's config files to
Pause key).
> > I think that if no special flag are set with SPCFLAG_xxx,
> > just having a key mapped to the debugger should not hurt, but I'm not
> > sure there's no side effect.
> >
> > Any thought ?
>
> Sounds good to me, I don't think there's any extra overhead from -D.
>
> I'll try to look into this tomorrow.
Please test.
Btw. Some projects have some nicely rhyming names for their releases.
What if this release would be called e.g. "Do the (DSP) Debug"?
(if you'll feel musically inclined, compose a song about it. ;-))
- Eero
More information about the hatari-devel
mailing list