Lisp HUG Maillist Archive

Getting LispWorks GUI Debugger to pop up automatically

Hi

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 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.

Kind regards

Rudi




Re: Getting LispWorks GUI Debugger to pop up automatically

On Wed, 2 Apr 2008 16:22:19 +0000 (UTC), Rudi Engelbrecht <rudi@engelbrecht.com> 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?

There's this, but it doesn't work if the error happens in a listener:

  http://www.lispworks.com/documentation/lw51/LWRM/html/lwref-314.htm

AFAIK there's no direct way for what you want.

> 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 or :A :T both work and don't change.

Edi.


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


Updated at: 2020-12-10 08:43 UTC