Disable the debugger?
Is there any way to turn off the debugger in the LispWorks Listener? In other words, on errors just print the error message, but stay at level 1.
In the LispWorks manual there are various Debugger control variables, but I can’t see one to turn it completely off.
I’m using LispWorks to help my daughter learn about programming, and because she makes quite a lot of mistakes and typos, she spends most of her time in the debugger, which is quite confusing for a beginner. Also, because she forgets to abort before continuing she often gets misleading results thereafter.
Out of interest, how many people actually make use of the debugger options such as "Return a value to use.” or "Supply a new argument.”?
Thanks,
David
+------------------------------------------------------------+
David Johnson-Davies, Human-Computer Interface Ltd
17 Signet Court, Swanns Road, Cambridge, CB5 8LA, England.
Tel: +44 1223 314934, Fax: +44 1223 462562
Email: david@interface.co.uk, Web: http://www.interface.co.uk/
+------------------------------------------------------------+
_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html
Re: Disable the debugger?
Set *debugger-hook*:
CL-USER 1 > (setf *debugger-hook* (lambda (condition old-hook) (format t "Error: ~a~%" condition) (abort)))
#<anonymous interpreted function 36434832>
CL-USER 2 > foobar
Error: The variable FOOBAR is unbound.
CL-USER 3 >
Erik
> 27 mars 2017 kl. 12:34 skrev David Johnson-Davies <david@interface.co.uk>:
>
> Is there any way to turn off the debugger in the LispWorks Listener? In other words, on errors just print the error message, but stay at level 1.
>
> In the LispWorks manual there are various Debugger control variables, but I can’t see one to turn it completely off.
>
> I’m using LispWorks to help my daughter learn about programming, and because she makes quite a lot of mistakes and typos, she spends most of her time in the debugger, which is quite confusing for a beginner. Also, because she forgets to abort before continuing she often gets misleading results thereafter.
>
> Out of interest, how many people actually make use of the debugger options such as "Return a value to use.” or "Supply a new argument.”?
>
> Thanks,
> David
>
> +------------------------------------------------------------+
> David Johnson-Davies, Human-Computer Interface Ltd
> 17 Signet Court, Swanns Road, Cambridge, CB5 8LA, England.
>
> Tel: +44 1223 314934, Fax: +44 1223 462562
> Email: david@interface.co.uk, Web: http://www.interface.co.uk/
> +------------------------------------------------------------+
>
>
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html
_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html