Article View: gnu.emacs.bug
Article #99148debugger buggery
From: Jamie Zawinski
Date: Thu, 08 Nov 1990 00:02
Date: Thu, 08 Nov 1990 00:02
21 lines
1418 bytes
1418 bytes
It's not possible to use the elisp debugger if there are any circular structures on the stack. (This makes debugging the VM mail reader impossible.) At first I thought all it would take was adding something like (condition-case c (print ...) (error (princ "--circular--"))) around the debugger's call to print, but this doesn't work because prin1 is called from C code. There should a print-depth variable as well as print-length. Well really, I'd rather have print-circle, even if it only did something like (foo bar (baz ## yow)) instead of (foo bar (baz (foo bar (baz (foo bar (baz ... yow)) yow)) yow)) which print-depth would do. (For those of you who don't know, Common Lisp would do #1=(foo bar (baz #1# yow)) and read would correctly reproduce the structure.) -- Jamie
Technical Details
Message-ID:
<JWZ.90Nov7160210@kolyma.lucid.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!LUCID.COM!jwzShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,7e6085a0b24199a4,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-11-07 16:02:10 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!LUCID.COM!jwz From: jwz@LUCID.COM (Jamie Zawinski) Newsgroups: gnu.emacs.bug Subject: debugger buggery Message-ID: <JWZ.90Nov7160210@kolyma.lucid.com> Date: 8 Nov 90 00:02:10 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: Lucid, Inc., Menlo Park, CA Lines: 21 Approved: bug-gnu-emacs@prep.ai.mit.edu Posted: Thu Nov 8 01:02:10 1990