Re: Getting LispWorks GUI Debugger to pop up automatically
On Wed, Apr 02, 2008 at 04:22:19PM +0000, Rudi Engelbrecht wrote:
> I would like the LispWorks GUI Debugger to pop up automatically
> when an error in the Listener Window occurs.
>
> Is there a setting to enable the GUI Debugger to start
> automatically on an error? And if so - where is it?
I don't know how to do that, but there's always Alt-d,s (Debug ->
Start Gui Debugger). At least that's only two keystrokes (or maybe
three, depending on how you count 'em :).
(Making "Alt" work may require changes to xmodmap. It did for me,
anyway.)
> I would also like one keystroke to "Return to top loop level 0".
>
> Using :c with the applicable option number (which changes
> every time) is quite tedious.
:top<enter> works. It's five keystrokes, but it's the same five each
time.
There's also the system:define-top-loop-command macro which allows you
to define new things at the top level. You could make :t do the same
thing as :top, for example
Last, be aware that the Listener is just a specialized Editor. You
can bind keystrokes for it just like you can in the Editor. So you
could bind single keystrokes (like, say, function keys) to invoke the
graphical debugger (either by simulating Alt-d,s, or there's probably
some actual command to do the same thing), or for invoking the "return
to toplevel" restart.
HTH.
-- Larry