home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1993-04-01 | 7.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
1%
| dexvert
| Combustion 2 Particle Library (other/combustion2ParticleLibrary)
| ext
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
| |
100%
| xdgMime
| text/x-emacs-lisp
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 77 7a 40 74 68 61 |piled by| jwz@tha|
|00000020| 6c 69 64 6f 6d 69 64 65 | 20 6f 6e 20 4d 6f 6e 20 |lidomide| on Mon |
|00000030| 46 65 62 20 20 31 20 31 | 39 3a 32 30 3a 35 32 20 |Feb 1 1|9:20:52 |
|00000040| 31 39 39 33 0a 3b 3b 3b | 20 66 72 6f 6d 20 66 69 |1993.;;;| from fi|
|00000050| 6c 65 20 2f 63 61 64 69 | 6c 6c 61 63 31 2f 63 6f |le /cadi|llac1/co|
|00000060| 64 65 2f 62 75 69 6c 64 | 2f 6c 65 6d 61 63 73 2f |de/build|/lemacs/|
|00000070| 6c 69 73 70 2f 70 72 69 | 6d 2f 64 65 62 75 67 2e |lisp/pri|m/debug.|
|00000080| 65 6c 0a 3b 3b 3b 20 65 | 6d 61 63 73 20 76 65 72 |el.;;; e|macs ver|
|00000090| 73 69 6f 6e 20 31 39 2e | 34 2e 31 33 20 4c 75 63 |sion 19.|4.13 Luc|
|000000a0| 69 64 2e 0a 3b 3b 3b 20 | 62 79 74 65 63 6f 6d 70 |id..;;; |bytecomp|
|000000b0| 20 76 65 72 73 69 6f 6e | 20 32 2e 31 30 3b 20 20 | version| 2.10; |
|000000c0| 31 2d 66 65 62 2d 39 33 | 2e 0a 3b 3b 3b 20 6f 70 |1-feb-93|..;;; op|
|000000d0| 74 69 6d 69 7a 61 74 69 | 6f 6e 20 69 73 20 6f 6e |timizati|on is on|
|000000e0| 2e 0a 3b 3b 3b 20 74 68 | 69 73 20 66 69 6c 65 20 |..;;; th|is file |
|000000f0| 75 73 65 73 20 6f 70 63 | 6f 64 65 73 20 77 68 69 |uses opc|odes whi|
|00000100| 63 68 20 64 6f 20 6e 6f | 74 20 65 78 69 73 74 20 |ch do no|t exist |
|00000110| 69 6e 20 45 6d 61 63 73 | 31 38 2e 0a 0a 28 69 66 |in Emacs|18...(if|
|00000120| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000130| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 29 0a 09 20 |macs-ver|sion).. |
|00000140| 28 6f 72 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(or (and| (boundp|
|00000150| 20 27 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e | 'epoch:|:version|
|00000160| 29 20 65 70 6f 63 68 3a | 3a 76 65 72 73 69 6f 6e |) epoch:|:version|
|00000170| 29 0a 09 20 20 20 20 20 | 28 73 74 72 69 6e 67 2d |).. |(string-|
|00000180| 6c 65 73 73 70 20 65 6d | 61 63 73 2d 76 65 72 73 |lessp em|acs-vers|
|00000190| 69 6f 6e 20 22 31 39 22 | 29 29 29 0a 20 20 20 20 |ion "19"|))). |
|000001a0| 28 65 72 72 6f 72 20 22 | 54 68 69 73 20 66 69 6c |(error "|This fil|
|000001b0| 65 20 77 61 73 20 63 6f | 6d 70 69 6c 65 64 20 66 |e was co|mpiled f|
|000001c0| 6f 72 20 45 6d 61 63 73 | 31 39 2e 22 29 29 0a 0a |or Emacs|19."))..|
|000001d0| 28 64 65 66 76 61 72 20 | 64 65 62 75 67 2d 66 75 |(defvar |debug-fu|
|000001e0| 6e 63 74 69 6f 6e 2d 6c | 69 73 74 20 6e 69 6c 20 |nction-l|ist nil |
|000001f0| 22 5c 0a 4c 69 73 74 20 | 6f 66 20 66 75 6e 63 74 |"\.List |of funct|
|00000200| 69 6f 6e 73 20 63 75 72 | 72 65 6e 74 6c 79 20 73 |ions cur|rently s|
|00000210| 65 74 20 66 6f 72 20 64 | 65 62 75 67 20 6f 6e 20 |et for d|ebug on |
|00000220| 65 6e 74 72 79 2e 22 29 | 0a 28 62 79 74 65 2d 63 |entry.")|.(byte-c|
|00000230| 6f 64 65 20 22 c0 11 c0 | 87 22 20 5b 64 65 62 75 |ode "...|." [debu|
|00000240| 67 20 64 65 62 75 67 67 | 65 72 5d 20 31 29 0a 28 |g debugg|er] 1).(|
|00000250| 66 73 65 74 20 27 64 65 | 62 75 67 20 23 5b 28 26 |fset 'de|bug #[(&|
|00000260| 72 65 73 74 20 64 65 62 | 75 67 67 65 72 2d 61 72 |rest deb|ugger-ar|
|00000270| 67 73 29 20 22 c0 c1 21 | 88 c2 c3 20 c2 89 c4 1d |gs) "..!|... ....|
|00000280| c6 c7 21 29 70 c2 89 89 | 1e 08 1e 09 1e 5c 6e 1e |..!)p...|.....\n.|
|00000290| 0b 1e 0c 1e 0d 1e 0e 1e | 0f 1e 10 d1 8e 8a d2 8b |........|........|
|000002a0| 88 2a 0e 5c 6e 16 13 0e | 10 2e 09 87 22 20 5b 6d |.*.\n...|...." [m|
|000002b0| 65 73 73 61 67 65 20 22 | 45 6e 74 65 72 69 6e 67 |essage "|Entering|
|000002c0| 20 64 65 62 75 67 67 65 | 72 2e 2e 2e 22 20 6e 69 | debugge|r..." ni|
|000002d0| 6c 20 6d 61 74 63 68 2d | 64 61 74 61 20 66 75 6e |l match-|data fun|
|000002e0| 64 61 6d 65 6e 74 61 6c | 2d 6d 6f 64 65 20 64 65 |damental|-mode de|
|000002f0| 66 61 75 6c 74 2d 6d 61 | 6a 6f 72 2d 6d 6f 64 65 |fault-ma|jor-mode|
|00000300| 20 67 65 6e 65 72 61 74 | 65 2d 6e 65 77 2d 62 75 | generat|e-new-bu|
|00000310| 66 66 65 72 20 22 2a 42 | 61 63 6b 74 72 61 63 65 |ffer "*B|acktrace|
|00000320| 2a 22 20 63 75 72 73 6f | 72 2d 69 6e 2d 65 63 68 |*" curso|r-in-ech|
|00000330| 6f 2d 61 72 65 61 20 65 | 78 65 63 75 74 69 6e 67 |o-area e|xecuting|
|00000340| 2d 6d 61 63 72 6f 20 64 | 65 62 75 67 67 65 72 2d |-macro d|ebugger-|
|00000350| 73 74 65 70 2d 61 66 74 | 65 72 2d 65 78 69 74 20 |step-aft|er-exit |
|00000360| 64 65 62 75 67 67 65 72 | 2d 6f 6c 64 2d 62 75 66 |debugger|-old-buf|
|00000370| 66 65 72 20 64 65 62 75 | 67 67 65 72 2d 62 75 66 |fer debu|gger-buf|
|00000380| 66 65 72 20 64 65 62 75 | 67 2d 6f 6e 2d 71 75 69 |fer debu|g-on-qui|
|00000390| 74 20 64 65 62 75 67 2d | 6f 6e 2d 65 72 72 6f 72 |t debug-|on-error|
|000003a0| 20 64 65 62 75 67 67 65 | 72 2d 6d 61 74 63 68 2d | debugge|r-match-|
|000003b0| 64 61 74 61 20 64 65 62 | 75 67 67 65 72 2d 76 61 |data deb|ugger-va|
|000003c0| 6c 75 65 20 28 28 62 79 | 74 65 2d 63 6f 64 65 20 |lue ((by|te-code |
|000003d0| 22 c0 09 21 88 c2 0b 21 | 87 22 20 5b 6b 69 6c 6c |"..!...!|." [kill|
|000003e0| 2d 62 75 66 66 65 72 20 | 64 65 62 75 67 67 65 72 |-buffer |debugger|
|000003f0| 2d 62 75 66 66 65 72 20 | 73 74 6f 72 65 2d 6d 61 |-buffer |store-ma|
|00000400| 74 63 68 2d 64 61 74 61 | 20 64 65 62 75 67 67 65 |tch-data| debugge|
|00000410| 72 2d 6d 61 74 63 68 2d | 64 61 74 61 5d 20 32 29 |r-match-|data] 2)|
|00000420| 29 20 28 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |) ((byte|-code ".|
|00000430| 09 21 88 c2 20 88 70 c3 | c4 1d 1e 06 1e 07 c8 20 |.!.. .p.|....... |
|00000440| 88 2b 65 62 88 c9 20 88 | 60 ca cb 21 88 cc 79 88 |.+eb.. .|`..!..y.|
|00000450| 60 7c 88 cd 20 88 0e 0e | 40 cf 3e ab 9b d0 63 88 |`|.. ...|@.>...c.|
|00000460| 0e 0e 40 d1 3d ab ee d2 | d3 c3 5c 22 88 d4 cc 21 |..@.=...|..\"...!|
|00000470| 88 d5 63 88 d6 79 88 aa | dd 0e 0e 40 d7 3d ab 9e |..c..y..|...@.=..|
|00000480| d8 63 88 0e 0e 41 40 16 | 19 da 0e 19 70 5c 22 88 |.c...A@.|....p\".|
|00000490| db 63 88 d4 cc 21 88 dc | 63 88 d6 79 88 aa b8 0e |.c...!..|c..y....|
|000004a0| 0e 40 dd 3d ab 90 de 63 | 88 da 0e 0e 41 40 70 5c |.@.=...c|....A@p\|
|000004b0| 22 88 db 63 88 aa a1 0e | 0e 40 c3 3d ab 85 df 63 |"..c....|.@.=...c|
|000004c0| 88 aa 95 da 0e 0e 40 e0 | 3d ab 85 0e 0e 41 aa 82 |......@.|=....A..|
|000004d0| 0e 0e 70 5c 22 88 db 63 | 88 e1 e2 21 88 c3 e0 c3 |..p\"..c|...!....|
|000004e0| 1e 23 1e 07 1e 24 e1 e2 | 21 88 e5 20 88 2b e0 87 |.#...$..|!.. .+..|
|000004f0| 22 20 5b 70 6f 70 2d 74 | 6f 2d 62 75 66 66 65 72 |" [pop-t|o-buffer|
|00000500| 20 64 65 62 75 67 67 65 | 72 2d 62 75 66 66 65 72 | debugge|r-buffer|
|00000510| 20 65 72 61 73 65 2d 62 | 75 66 66 65 72 20 74 20 | erase-b|uffer t |
|00000520| 35 30 20 70 72 69 6e 74 | 2d 6c 65 6e 67 74 68 20 |50 print|-length |
|00000530| 70 72 69 6e 74 2d 65 73 | 63 61 70 65 2d 6e 65 77 |print-es|cape-new|
|00000540| 6c 69 6e 65 73 20 73 74 | 61 6e 64 61 72 64 2d 6f |lines st|andard-o|
|00000550| 75 74 70 75 74 20 62 61 | 63 6b 74 72 61 63 65 20 |utput ba|cktrace |
|00000560| 64 65 62 75 67 67 65 72 | 2d 6d 6f 64 65 20 72 65 |debugger|-mode re|
|00000570| 2d 73 65 61 72 63 68 2d | 66 6f 72 77 61 72 64 20 |-search-|forward |
|00000580| 22 5c 6e 5b 2a 20 5d 20 | 64 65 62 75 67 28 22 20 |"\n[* ] |debug(" |
|00000590| 31 20 64 65 62 75 67 67 | 65 72 2d 72 65 65 6e 61 |1 debugg|er-reena|
|000005a0| 62 6c 65 20 64 65 62 75 | 67 67 65 72 2d 61 72 67 |ble debu|gger-arg|
|000005b0| 73 20 28 6c 61 6d 62 64 | 61 20 64 65 62 75 67 29 |s (lambd|a debug)|
|000005c0| 20 22 45 6e 74 65 72 69 | 6e 67 3a 5c 6e 22 20 64 | "Enteri|ng:\n" d|
|000005d0| 65 62 75 67 20 62 61 63 | 6b 74 72 61 63 65 2d 64 |ebug bac|ktrace-d|
|000005e0| 65 62 75 67 20 34 20 64 | 65 6c 65 74 65 2d 63 68 |ebug 4 d|elete-ch|
|000005f0| 61 72 20 34 32 20 30 20 | 65 78 69 74 20 22 52 65 |ar 42 0 |exit "Re|
|00000600| 74 75 72 6e 20 76 61 6c | 75 65 3a 20 22 20 64 65 |turn val|ue: " de|
|00000610| 62 75 67 67 65 72 2d 76 | 61 6c 75 65 20 70 72 69 |bugger-v|alue pri|
|00000620| 6e 31 20 31 30 20 33 32 | 20 65 72 72 6f 72 20 22 |n1 10 32| error "|
|00000630| 53 69 67 6e 61 6c 6c 69 | 6e 67 3a 20 22 20 22 42 |Signalli|ng: " "B|
|00000640| 65 67 69 6e 6e 69 6e 67 | 20 65 76 61 6c 75 61 74 |eginning| evaluat|
|00000650| 69 6f 6e 20 6f 66 20 66 | 75 6e 63 74 69 6f 6e 20 |ion of f|unction |
|00000660| 63 61 6c 6c 20 66 6f 72 | 6d 3a 5c 6e 22 20 6e 69 |call for|m:\n" ni|
|00000670| 6c 20 6d 65 73 73 61 67 | 65 20 22 22 20 62 75 66 |l messag|e "" buf|
|00000680| 66 65 72 2d 72 65 61 64 | 2d 6f 6e 6c 79 20 69 6e |fer-read|-only in|
|00000690| 68 69 62 69 74 2d 74 72 | 61 63 65 20 72 65 63 75 |hibit-tr|ace recu|
|000006a0| 72 73 69 76 65 2d 65 64 | 69 74 5d 20 33 29 29 20 |rsive-ed|it] 3)) |
|000006b0| 64 65 62 75 67 2d 6f 6e | 2d 6e 65 78 74 2d 63 61 |debug-on|-next-ca|
|000006c0| 6c 6c 5d 20 39 20 22 5c | 0a 45 6e 74 65 72 20 64 |ll] 9 "\|.Enter d|
|000006d0| 65 62 75 67 67 65 72 2e | 20 20 52 65 74 75 72 6e |ebugger.| Return|
|000006e0| 73 20 69 66 20 75 73 65 | 72 20 73 61 79 73 20 5c |s if use|r says \|
|000006f0| 22 63 6f 6e 74 69 6e 75 | 65 5c 22 2e 0a 41 72 67 |"continu|e\"..Arg|
|00000700| 75 6d 65 6e 74 73 20 61 | 72 65 20 6d 61 69 6e 6c |uments a|re mainl|
|00000710| 79 20 66 6f 72 20 75 73 | 65 20 77 68 65 6e 20 74 |y for us|e when t|
|00000720| 68 69 73 20 69 73 20 63 | 61 6c 6c 65 64 0a 20 66 |his is c|alled. f|
|00000730| 72 6f 6d 20 74 68 65 20 | 69 6e 74 65 72 6e 61 6c |rom the |internal|
|00000740| 73 20 6f 66 20 74 68 65 | 20 65 76 61 6c 75 61 74 |s of the| evaluat|
|00000750| 6f 72 2e 0a 59 6f 75 20 | 6d 61 79 20 63 61 6c 6c |or..You |may call|
|00000760| 20 77 69 74 68 20 6e 6f | 20 61 72 67 73 2c 20 6f | with no| args, o|
|00000770| 72 20 79 6f 75 20 6d 61 | 79 0a 20 70 61 73 73 20 |r you ma|y. pass |
|00000780| 6e 69 6c 20 61 73 20 74 | 68 65 20 66 69 72 73 74 |nil as t|he first|
|00000790| 20 61 72 67 20 61 6e 64 | 20 61 6e 79 20 6f 74 68 | arg and| any oth|
|000007a0| 65 72 20 61 72 67 73 20 | 79 6f 75 20 6c 69 6b 65 |er args |you like|
|000007b0| 2e 0a 20 49 6e 20 74 68 | 61 74 20 63 61 73 65 2c |.. In th|at case,|
|000007c0| 20 74 68 65 20 6c 69 73 | 74 20 6f 66 20 61 72 67 | the lis|t of arg|
|000007d0| 73 20 61 66 74 65 72 20 | 74 68 65 20 66 69 72 73 |s after |the firs|
|000007e0| 74 20 77 69 6c 6c 20 0a | 20 62 65 20 70 72 69 6e |t will .| be prin|
|000007f0| 74 65 64 20 69 6e 74 6f | 20 74 68 65 20 62 61 63 |ted into| the bac|
|00000800| 6b 74 72 61 63 65 20 62 | 75 66 66 65 72 2e 22 5d |ktrace b|uffer."]|
|00000810| 29 0a 28 66 73 65 74 20 | 27 64 65 62 75 67 67 65 |).(fset |'debugge|
|00000820| 72 2d 73 74 65 70 2d 74 | 68 72 6f 75 67 68 20 23 |r-step-t|hrough #|
|00000830| 5b 6e 69 6c 20 22 c0 11 | c2 c3 21 88 c4 20 87 22 |[nil "..|..!.. ."|
|00000840| 20 5b 74 20 64 65 62 75 | 67 67 65 72 2d 73 74 65 | [t debu|gger-ste|
|00000850| 70 2d 61 66 74 65 72 2d | 65 78 69 74 20 6d 65 73 |p-after-|exit mes|
|00000860| 73 61 67 65 20 22 50 72 | 6f 63 65 64 69 6e 67 2c |sage "Pr|oceding,|
|00000870| 20 77 69 6c 6c 20 64 65 | 62 75 67 20 6f 6e 20 6e | will de|bug on n|
|00000880| 65 78 74 20 65 76 61 6c | 20 6f 72 20 63 61 6c 6c |ext eval| or call|
|00000890| 2e 22 20 65 78 69 74 2d | 72 65 63 75 72 73 69 76 |." exit-|recursiv|
|000008a0| 65 2d 65 64 69 74 5d 20 | 32 20 22 5c 0a 50 72 6f |e-edit] |2 "\.Pro|
|000008b0| 63 65 65 64 2c 20 73 74 | 65 70 70 69 6e 67 20 74 |ceed, st|epping t|
|000008c0| 68 72 6f 75 67 68 20 73 | 75 62 65 78 70 72 65 73 |hrough s|ubexpres|
|000008d0| 73 69 6f 6e 73 20 6f 66 | 20 74 68 69 73 20 65 78 |sions of| this ex|
|000008e0| 70 72 65 73 73 69 6f 6e | 2e 0a 45 6e 74 65 72 20 |pression|..Enter |
|000008f0| 61 6e 6f 74 68 65 72 20 | 64 65 62 75 67 67 65 72 |another |debugger|
|00000900| 20 6f 6e 20 6e 65 78 74 | 20 65 6e 74 72 79 20 74 | on next| entry t|
|00000910| 6f 20 65 76 61 6c 2c 20 | 61 70 70 6c 79 20 6f 72 |o eval, |apply or|
|00000920| 20 66 75 6e 63 61 6c 6c | 2e 22 20 6e 69 6c 5d 29 | funcall|." nil])|
|00000930| 0a 28 66 73 65 74 20 27 | 64 65 62 75 67 67 65 72 |.(fset '|debugger|
|00000940| 2d 63 6f 6e 74 69 6e 75 | 65 20 23 5b 6e 69 6c 20 |-continu|e #[nil |
|00000950| 22 c0 c1 21 88 c2 20 87 | 22 20 5b 6d 65 73 73 61 |"..!.. .|" [messa|
|00000960| 67 65 20 22 43 6f 6e 74 | 69 6e 75 69 6e 67 2e 22 |ge "Cont|inuing."|
|00000970| 20 65 78 69 74 2d 72 65 | 63 75 72 73 69 76 65 2d | exit-re|cursive-|
|00000980| 65 64 69 74 5d 20 32 20 | 22 5c 0a 43 6f 6e 74 69 |edit] 2 |"\.Conti|
|00000990| 6e 75 65 2c 20 65 76 61 | 6c 75 61 74 69 6e 67 20 |nue, eva|luating |
|000009a0| 74 68 69 73 20 65 78 70 | 72 65 73 73 69 6f 6e 20 |this exp|ression |
|000009b0| 77 69 74 68 6f 75 74 20 | 73 74 6f 70 70 69 6e 67 |without |stopping|
|000009c0| 2e 22 20 6e 69 6c 5d 29 | 0a 28 66 73 65 74 20 27 |." nil])|.(fset '|
|000009d0| 64 65 62 75 67 67 65 72 | 2d 72 65 74 75 72 6e 2d |debugger|-return-|
|000009e0| 76 61 6c 75 65 20 23 5b | 28 76 61 6c 29 20 22 08 |value #[|(val) ".|
|000009f0| 11 c2 c3 c4 5c 22 88 c5 | 09 21 88 c6 20 87 22 20 |....\"..|.!.. ." |
|00000a00| 5b 76 61 6c 20 64 65 62 | 75 67 67 65 72 2d 76 61 |[val deb|ugger-va|
|00000a10| 6c 75 65 20 70 72 69 6e | 63 20 22 52 65 74 75 72 |lue prin|c "Retur|
|00000a20| 6e 69 6e 67 20 22 20 74 | 20 70 72 69 6e 31 20 65 |ning " t| prin1 e|
|00000a30| 78 69 74 2d 72 65 63 75 | 72 73 69 76 65 2d 65 64 |xit-recu|rsive-ed|
|00000a40| 69 74 5d 20 33 20 22 5c | 0a 43 6f 6e 74 69 6e 75 |it] 3 "\|.Continu|
|00000a50| 65 2c 20 73 70 65 63 69 | 66 79 69 6e 67 20 76 61 |e, speci|fying va|
|00000a60| 6c 75 65 20 74 6f 20 72 | 65 74 75 72 6e 2e 0a 54 |lue to r|eturn..T|
|00000a70| 68 69 73 20 69 73 20 6f | 6e 6c 79 20 75 73 65 66 |his is o|nly usef|
|00000a80| 75 6c 20 77 68 65 6e 20 | 74 68 65 20 76 61 6c 75 |ul when |the valu|
|00000a90| 65 20 72 65 74 75 72 6e | 65 64 20 66 72 6f 6d 20 |e return|ed from |
|00000aa0| 74 68 65 20 64 65 62 75 | 67 67 65 72 0a 77 69 6c |the debu|gger.wil|
|00000ab0| 6c 20 62 65 20 75 73 65 | 64 2c 20 73 75 63 68 20 |l be use|d, such |
|00000ac0| 61 73 20 69 6e 20 61 20 | 64 65 62 75 67 20 6f 6e |as in a |debug on|
|00000ad0| 20 65 78 69 74 20 66 72 | 6f 6d 20 61 20 66 72 61 | exit fr|om a fra|
|00000ae0| 6d 65 2e 22 20 22 58 52 | 65 74 75 72 6e 20 76 61 |me." "XR|eturn va|
|00000af0| 6c 75 65 20 28 65 76 61 | 6c 75 61 74 65 64 29 3a |lue (eva|luated):|
|00000b00| 20 22 5d 29 0a 28 66 73 | 65 74 20 27 64 65 62 75 | "]).(fs|et 'debu|
|00000b10| 67 67 65 72 2d 6a 75 6d | 70 20 23 5b 6e 69 6c 20 |gger-jum|p #[nil |
|00000b20| 22 08 c1 5c 5c 18 c2 20 | 88 29 0b 89 1c ab 92 0c |"..\\.. |.)......|
|00000b30| 40 c5 0c 40 0c 40 4b c6 | 23 4d 88 0c 41 89 14 ac |@..@.@K.|#M..A...|
|00000b40| 6e 29 c7 c8 21 88 c9 20 | 87 22 20 5b 64 65 62 75 |n)..!.. |." [debu|
|00000b50| 67 67 65 72 2d 66 72 61 | 6d 65 2d 6f 66 66 73 65 |gger-fra|me-offse|
|00000b60| 74 20 32 20 64 65 62 75 | 67 67 65 72 2d 66 72 61 |t 2 debu|gger-fra|
|00000b70| 6d 65 20 64 65 62 75 67 | 2d 66 75 6e 63 74 69 6f |me debug|-functio|
|00000b80| 6e 2d 6c 69 73 74 20 6c | 69 73 74 20 64 65 62 75 |n-list l|ist debu|
|00000b90| 67 2d 6f 6e 2d 65 6e 74 | 72 79 2d 31 20 6e 69 6c |g-on-ent|ry-1 nil|
|00000ba0| 20 6d 65 73 73 61 67 65 | 20 22 43 6f 6e 74 69 6e | message| "Contin|
|00000bb0| 75 69 6e 67 20 74 68 72 | 6f 75 67 68 20 74 68 69 |uing thr|ough thi|
|00000bc0| 73 20 66 72 61 6d 65 22 | 20 65 78 69 74 2d 72 65 |s frame"| exit-re|
|00000bd0| 63 75 72 73 69 76 65 2d | 65 64 69 74 5d 20 36 20 |cursive-|edit] 6 |
|00000be0| 22 5c 0a 43 6f 6e 74 69 | 6e 75 65 20 74 6f 20 65 |"\.Conti|nue to e|
|00000bf0| 78 69 74 20 66 72 6f 6d | 20 74 68 69 73 20 66 72 |xit from| this fr|
|00000c00| 61 6d 65 2c 20 77 69 74 | 68 20 61 6c 6c 20 64 65 |ame, wit|h all de|
|00000c10| 62 75 67 2d 6f 6e 2d 65 | 6e 74 72 79 20 73 75 73 |bug-on-e|ntry sus|
|00000c20| 70 65 6e 64 65 64 2e 22 | 20 6e 69 6c 5d 29 0a 28 |pended."| nil]).(|
|00000c30| 66 73 65 74 20 27 64 65 | 62 75 67 67 65 72 2d 72 |fset 'de|bugger-r|
|00000c40| 65 65 6e 61 62 6c 65 20 | 23 5b 6e 69 6c 20 22 08 |eenable |#[nil ".|
|00000c50| 89 19 ad 9e 09 40 4b 3a | ac 85 c2 09 40 21 88 09 |.....@K:|....@!..|
|00000c60| 40 c3 09 40 09 40 4b c4 | 23 4d 88 09 41 89 11 ac |@..@.@K.|#M..A...|
|00000c70| 63 c5 29 87 22 20 5b 64 | 65 62 75 67 2d 66 75 6e |c.)." [d|ebug-fun|
|00000c80| 63 74 69 6f 6e 2d 6c 69 | 73 74 20 6c 69 73 74 20 |ction-li|st list |
|00000c90| 64 65 62 75 67 2d 63 6f | 6e 76 65 72 74 2d 62 79 |debug-co|nvert-by|
|00000ca0| 74 65 2d 63 6f 64 65 20 | 64 65 62 75 67 2d 6f 6e |te-code |debug-on|
|00000cb0| 2d 65 6e 74 72 79 2d 31 | 20 74 20 6e 69 6c 5d 20 |-entry-1| t nil] |
|00000cc0| 36 5d 29 0a 28 66 73 65 | 74 20 27 64 65 62 75 67 |6]).(fse|t 'debug|
|00000cd0| 67 65 72 2d 66 72 61 6d | 65 2d 6e 75 6d 62 65 72 |ger-fram|e-number|
|00000ce0| 20 23 5b 6e 69 6c 20 22 | 8a c0 79 88 60 c0 19 1a | #[nil "|..y.`...|
|00000cf0| 65 62 88 60 60 c3 5c 5c | 7b c4 9a ac 89 60 60 c3 |eb.``.\\|{....``.|
|00000d00| 5c 5c 7b c5 9a ab 88 c6 | c7 21 88 c8 c9 21 88 c9 |\\{.....|.!...!..|
|00000d10| 79 88 ca 75 88 67 cb 55 | ab 86 c8 c9 21 88 aa 84 |y..u.g.U|....!...|
|00000d20| c8 ca 21 88 c9 79 88 60 | 5c 6e 58 ab 85 09 54 11 |..!..y.`|\nX...T.|
|00000d30| aa 61 09 2b 87 22 20 5b | 30 20 63 6f 75 6e 74 20 |.a.+." [|0 count |
|00000d40| 6f 70 6f 69 6e 74 20 36 | 20 22 53 69 67 6e 61 6c |opoint 6| "Signal|
|00000d50| 22 20 22 52 65 74 75 72 | 6e 22 20 73 65 61 72 63 |" "Retur|n" searc|
|00000d60| 68 2d 66 6f 72 77 61 72 | 64 20 22 3a 22 20 66 6f |h-forwar|d ":" fo|
|00000d70| 72 77 61 72 64 2d 73 65 | 78 70 20 31 20 32 20 34 |rward-se|xp 1 2 4|
|00000d80| 30 5d 20 33 20 22 5c 0a | 52 65 74 75 72 6e 20 6e |0] 3 "\.|Return n|
|00000d90| 75 6d 62 65 72 20 6f 66 | 20 66 72 61 6d 65 73 20 |umber of| frames |
|00000da0| 69 6e 20 62 61 63 6b 74 | 72 61 63 65 20 62 65 66 |in backt|race bef|
|00000db0| 6f 72 65 20 74 68 65 20 | 6f 6e 65 20 70 6f 69 6e |ore the |one poin|
|00000dc0| 74 20 70 6f 69 6e 74 73 | 20 61 74 2e 22 5d 29 0a |t points| at."]).|
|00000dd0| 28 64 65 66 63 6f 6e 73 | 74 20 64 65 62 75 67 67 |(defcons|t debugg|
|00000de0| 65 72 2d 66 72 61 6d 65 | 2d 6f 66 66 73 65 74 20 |er-frame|-offset |
|00000df0| 38 20 22 5c 0a 22 29 0a | 28 66 73 65 74 20 27 64 |8 "\.").|(fset 'd|
|00000e00| 65 62 75 67 67 65 72 2d | 66 72 61 6d 65 20 23 5b |ebugger-|frame #[|
|00000e10| 6e 69 6c 20 22 c0 79 88 | c1 20 1a c3 5c 6e 0c 5c |nil ".y.|. ..\n.\|
|00000e20| 5c c5 5c 22 88 29 67 c6 | 55 ab 8b c7 1e 08 c9 ca |\.\".)g.|U.......|
|00000e30| 21 88 cb 63 88 29 c0 79 | 88 c7 87 22 20 5b 30 20 |!..c.).y|..." [0 |
|00000e40| 64 65 62 75 67 67 65 72 | 2d 66 72 61 6d 65 2d 6e |debugger|-frame-n|
|00000e50| 75 6d 62 65 72 20 6c 65 | 76 65 6c 20 62 61 63 6b |umber le|vel back|
|00000e60| 74 72 61 63 65 2d 64 65 | 62 75 67 20 64 65 62 75 |trace-de|bug debu|
|00000e70| 67 67 65 72 2d 66 72 61 | 6d 65 2d 6f 66 66 73 65 |gger-fra|me-offse|
|00000e80| 74 20 74 20 33 32 20 6e | 69 6c 20 62 75 66 66 65 |t t 32 n|il buffe|
|00000e90| 72 2d 72 65 61 64 2d 6f | 6e 6c 79 20 64 65 6c 65 |r-read-o|nly dele|
|00000ea0| 74 65 2d 63 68 61 72 20 | 31 20 34 32 5d 20 33 20 |te-char |1 42] 3 |
|00000eb0| 22 5c 0a 52 65 71 75 65 | 73 74 20 65 6e 74 72 79 |"\.Reque|st entry|
|00000ec0| 20 74 6f 20 64 65 62 75 | 67 67 65 72 20 77 68 65 | to debu|gger whe|
|00000ed0| 6e 20 74 68 69 73 20 66 | 72 61 6d 65 20 65 78 69 |n this f|rame exi|
|00000ee0| 74 73 2e 0a 41 70 70 6c | 69 65 73 20 74 6f 20 74 |ts..Appl|ies to t|
|00000ef0| 68 65 20 66 72 61 6d 65 | 20 77 68 6f 73 65 20 6c |he frame| whose l|
|00000f00| 69 6e 65 20 70 6f 69 6e | 74 20 69 73 20 6f 6e 20 |ine poin|t is on |
|00000f10| 69 6e 20 74 68 65 20 62 | 61 63 6b 74 72 61 63 65 |in the b|acktrace|
|00000f20| 2e 22 20 6e 69 6c 5d 29 | 0a 28 66 73 65 74 20 27 |." nil])|.(fset '|
|00000f30| 64 65 62 75 67 67 65 72 | 2d 66 72 61 6d 65 2d 63 |debugger|-frame-c|
|00000f40| 6c 65 61 72 20 23 5b 6e | 69 6c 20 22 c0 79 88 c1 |lear #[n|il ".y..|
|00000f50| 20 1a c3 5c 6e 0c 5c 5c | c5 5c 22 88 29 67 c6 55 | ..\n.\\|.\".)g.U|
|00000f60| ab 8b c5 1e 07 c8 c9 21 | 88 ca 63 88 29 c0 79 88 |.......!|..c.).y.|
|00000f70| c5 87 22 20 5b 30 20 64 | 65 62 75 67 67 65 72 2d |.." [0 d|ebugger-|
|00000f80| 66 72 61 6d 65 2d 6e 75 | 6d 62 65 72 20 6c 65 76 |frame-nu|mber lev|
|00000f90| 65 6c 20 62 61 63 6b 74 | 72 61 63 65 2d 64 65 62 |el backt|race-deb|
|00000fa0| 75 67 20 64 65 62 75 67 | 67 65 72 2d 66 72 61 6d |ug debug|ger-fram|
|00000fb0| 65 2d 6f 66 66 73 65 74 | 20 6e 69 6c 20 34 32 20 |e-offset| nil 42 |
|00000fc0| 62 75 66 66 65 72 2d 72 | 65 61 64 2d 6f 6e 6c 79 |buffer-r|ead-only|
|00000fd0| 20 64 65 6c 65 74 65 2d | 63 68 61 72 20 31 20 33 | delete-|char 1 3|
|00000fe0| 32 5d 20 33 20 22 5c 0a | 44 6f 20 6e 6f 74 20 65 |2] 3 "\.|Do not e|
|00000ff0| 6e 74 65 72 20 74 6f 20 | 64 65 62 75 67 67 65 72 |nter to |debugger|
|00001000| 20 77 68 65 6e 20 74 68 | 69 73 20 66 72 61 6d 65 | when th|is frame|
|00001010| 20 65 78 69 74 73 2e 0a | 41 70 70 6c 69 65 73 20 | exits..|Applies |
|00001020| 74 6f 20 74 68 65 20 66 | 72 61 6d 65 20 77 68 6f |to the f|rame who|
|00001030| 73 65 20 6c 69 6e 65 20 | 70 6f 69 6e 74 20 69 73 |se line |point is|
|00001040| 20 6f 6e 20 69 6e 20 74 | 68 65 20 62 61 63 6b 74 | on in t|he backt|
|00001050| 72 61 63 65 2e 22 20 6e | 69 6c 5d 29 0a 28 62 79 |race." n|il]).(by|
|00001060| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 4d 88 c2 c3 21 |te-code |"..M...!|
|00001070| ac 82 c4 13 0b ac d3 c5 | 1e 06 c7 20 13 c8 0b 21 |........|... ...!|
|00001080| 88 c9 0b ca cb 23 88 c9 | 0b cc cd 23 88 c9 0b ce |.....#..|...#....|
|00001090| cf 23 88 c9 0b d0 d1 23 | 88 c9 0b d2 d3 23 88 c9 |.#.....#|.....#..|
|000010a0| 0b d4 d5 23 88 c9 0b d6 | d7 23 88 c9 0b d8 d9 23 |...#....|.#.....#|
|000010b0| 88 c9 0b da db 23 88 c9 | 0b dc dd 23 88 c9 0b de |.....#..|...#....|
|000010c0| c0 23 88 c9 0b df e0 23 | 88 29 e1 e2 e3 e4 23 87 |.#.....#|.)....#.|
|000010d0| 22 20 5b 64 65 62 75 67 | 67 65 72 2d 65 76 61 6c |" [debug|ger-eval|
|000010e0| 2d 65 78 70 72 65 73 73 | 69 6f 6e 20 23 5b 28 65 |-express|ion #[(e|
|000010f0| 78 70 29 20 22 8a c0 09 | 21 ac 82 70 11 09 71 88 |xp) "...|!..p..q.|
|00001100| c2 0b 21 29 87 22 20 5b | 62 75 66 66 65 72 2d 6e |..!)." [|buffer-n|
|00001110| 61 6d 65 20 64 65 62 75 | 67 67 65 72 2d 6f 6c 64 |ame debu|gger-old|
|00001120| 2d 62 75 66 66 65 72 20 | 65 76 61 6c 2d 65 78 70 |-buffer |eval-exp|
|00001130| 72 65 73 73 69 6f 6e 20 | 65 78 70 5d 20 32 20 6e |ression |exp] 2 n|
|00001140| 69 6c 20 22 78 45 76 61 | 6c 3a 20 22 5d 20 62 6f |il "xEva|l: "] bo|
|00001150| 75 6e 64 70 20 64 65 62 | 75 67 67 65 72 2d 6d 6f |undp deb|ugger-mo|
|00001160| 64 65 2d 6d 61 70 20 6e | 69 6c 20 33 32 20 6c 6f |de-map n|il 32 lo|
|00001170| 6f 70 20 6d 61 6b 65 2d | 6b 65 79 6d 61 70 20 73 |op make-|keymap s|
|00001180| 75 70 70 72 65 73 73 2d | 6b 65 79 6d 61 70 20 64 |uppress-|keymap d|
|00001190| 65 66 69 6e 65 2d 6b 65 | 79 20 22 2d 22 20 6e 65 |efine-ke|y "-" ne|
|000011a0| 67 61 74 69 76 65 2d 61 | 72 67 75 6d 65 6e 74 20 |gative-a|rgument |
|000011b0| 22 62 22 20 64 65 62 75 | 67 67 65 72 2d 66 72 61 |"b" debu|gger-fra|
|000011c0| 6d 65 20 22 63 22 20 64 | 65 62 75 67 67 65 72 2d |me "c" d|ebugger-|
|000011d0| 63 6f 6e 74 69 6e 75 65 | 20 22 6a 22 20 64 65 62 |continue| "j" deb|
|000011e0| 75 67 67 65 72 2d 6a 75 | 6d 70 20 22 72 22 20 64 |ugger-ju|mp "r" d|
|000011f0| 65 62 75 67 67 65 72 2d | 72 65 74 75 72 6e 2d 76 |ebugger-|return-v|
|00001200| 61 6c 75 65 20 22 75 22 | 20 64 65 62 75 67 67 65 |alue "u"| debugge|
|00001210| 72 2d 66 72 61 6d 65 2d | 63 6c 65 61 72 20 22 64 |r-frame-|clear "d|
|00001220| 22 20 64 65 62 75 67 67 | 65 72 2d 73 74 65 70 2d |" debugg|er-step-|
|00001230| 74 68 72 6f 75 67 68 20 | 22 6c 22 20 64 65 62 75 |through |"l" debu|
|00001240| 67 67 65 72 2d 6c 69 73 | 74 2d 66 75 6e 63 74 69 |gger-lis|t-functi|
|00001250| 6f 6e 73 20 22 68 22 20 | 64 65 73 63 72 69 62 65 |ons "h" |describe|
|00001260| 2d 6d 6f 64 65 20 22 71 | 22 20 74 6f 70 2d 6c 65 |-mode "q|" top-le|
|00001270| 76 65 6c 20 22 65 22 20 | 22 20 22 20 6e 65 78 74 |vel "e" |" " next|
|00001280| 2d 6c 69 6e 65 20 70 75 | 74 20 64 65 62 75 67 67 |-line pu|t debugg|
|00001290| 65 72 2d 6d 6f 64 65 20 | 6d 6f 64 65 2d 63 6c 61 |er-mode |mode-cla|
|000012a0| 73 73 20 73 70 65 63 69 | 61 6c 5d 20 34 29 0a 28 |ss speci|al] 4).(|
|000012b0| 66 73 65 74 20 27 64 65 | 62 75 67 67 65 72 2d 6d |fset 'de|bugger-m|
|000012c0| 6f 64 65 20 23 5b 6e 69 | 6c 20 22 c0 20 88 c1 12 |ode #[ni|l ". ...|
|000012d0| c3 14 c5 16 06 c7 0e 08 | 21 88 c9 0e 5c 6e 21 87 |........|!...\n!.|
|000012e0| 22 20 5b 6b 69 6c 6c 2d | 61 6c 6c 2d 6c 6f 63 61 |" [kill-|all-loca|
|000012f0| 6c 2d 76 61 72 69 61 62 | 6c 65 73 20 64 65 62 75 |l-variab|les debu|
|00001300| 67 67 65 72 2d 6d 6f 64 | 65 20 6d 61 6a 6f 72 2d |gger-mod|e major-|
|00001310| 6d 6f 64 65 20 22 44 65 | 62 75 67 67 65 72 22 20 |mode "De|bugger" |
|00001320| 6d 6f 64 65 2d 6e 61 6d | 65 20 74 20 74 72 75 6e |mode-nam|e t trun|
|00001330| 63 61 74 65 2d 6c 69 6e | 65 73 20 73 65 74 2d 73 |cate-lin|es set-s|
|00001340| 79 6e 74 61 78 2d 74 61 | 62 6c 65 20 65 6d 61 63 |yntax-ta|ble emac|
|00001350| 73 2d 6c 69 73 70 2d 6d | 6f 64 65 2d 73 79 6e 74 |s-lisp-m|ode-synt|
|00001360| 61 78 2d 74 61 62 6c 65 | 20 75 73 65 2d 6c 6f 63 |ax-table| use-loc|
|00001370| 61 6c 2d 6d 61 70 20 64 | 65 62 75 67 67 65 72 2d |al-map d|ebugger-|
|00001380| 6d 6f 64 65 2d 6d 61 70 | 5d 20 32 20 22 5c 0a 4d |mode-map|] 2 "\.M|
|00001390| 6f 64 65 20 66 6f 72 20 | 62 61 63 6b 74 72 61 63 |ode for |backtrac|
|000013a0| 65 20 62 75 66 66 65 72 | 73 2c 20 73 65 6c 65 63 |e buffer|s, selec|
|000013b0| 74 65 64 20 69 6e 20 64 | 65 62 75 67 67 65 72 2e |ted in d|ebugger.|
|000013c0| 0a 5c 5c 3c 64 65 62 75 | 67 67 65 72 2d 6d 6f 64 |.\\<debu|gger-mod|
|000013d0| 65 2d 6d 61 70 3e 0a 41 | 20 6c 69 6e 65 20 73 74 |e-map>.A| line st|
|000013e0| 61 72 74 73 20 77 69 74 | 68 20 60 2a 27 20 69 66 |arts wit|h `*' if|
|000013f0| 20 65 78 69 74 69 6e 67 | 20 74 68 61 74 20 66 72 | exiting| that fr|
|00001400| 61 6d 65 20 77 69 6c 6c | 20 63 61 6c 6c 20 74 68 |ame will| call th|
|00001410| 65 20 64 65 62 75 67 67 | 65 72 2e 0a 54 79 70 65 |e debugg|er..Type|
|00001420| 20 5c 5c 5b 64 65 62 75 | 67 67 65 72 2d 66 72 61 | \\[debu|gger-fra|
|00001430| 6d 65 5d 20 6f 72 20 5c | 5c 5b 64 65 62 75 67 67 |me] or \|\[debugg|
|00001440| 65 72 2d 66 72 61 6d 65 | 2d 63 6c 65 61 72 5d 20 |er-frame|-clear] |
|00001450| 74 6f 20 73 65 74 20 6f | 72 20 72 65 6d 6f 76 65 |to set o|r remove|
|00001460| 20 74 68 65 20 60 2a 27 | 2e 0a 0a 57 68 65 6e 20 | the `*'|...When |
|00001470| 69 6e 20 64 65 62 75 67 | 67 65 72 20 64 75 65 20 |in debug|ger due |
|00001480| 74 6f 20 66 72 61 6d 65 | 20 62 65 69 6e 67 20 65 |to frame| being e|
|00001490| 78 69 74 65 64 2c 0a 75 | 73 65 20 74 68 65 20 5c |xited,.u|se the \|
|000014a0| 5c 5b 64 65 62 75 67 67 | 65 72 2d 72 65 74 75 72 |\[debugg|er-retur|
|000014b0| 6e 2d 76 61 6c 75 65 5d | 20 63 6f 6d 6d 61 6e 64 |n-value]| command|
|000014c0| 20 74 6f 20 6f 76 65 72 | 72 69 64 65 20 74 68 65 | to over|ride the|
|000014d0| 20 76 61 6c 75 65 0a 62 | 65 69 6e 67 20 72 65 74 | value.b|eing ret|
|000014e0| 75 72 6e 65 64 20 66 72 | 6f 6d 20 74 68 61 74 20 |urned fr|om that |
|000014f0| 66 72 61 6d 65 2e 0a 0a | 55 73 65 20 5c 5c 5b 64 |frame...|Use \\[d|
|00001500| 65 62 75 67 2d 6f 6e 2d | 65 6e 74 72 79 5d 20 61 |ebug-on-|entry] a|
|00001510| 6e 64 20 5c 5c 5b 63 61 | 6e 63 65 6c 2d 64 65 62 |nd \\[ca|ncel-deb|
|00001520| 75 67 2d 6f 6e 2d 65 6e | 74 72 79 5d 20 74 6f 20 |ug-on-en|try] to |
|00001530| 63 6f 6e 74 72 6f 6c 0a | 77 68 69 63 68 20 66 75 |control.|which fu|
|00001540| 6e 63 74 69 6f 6e 73 20 | 77 69 6c 6c 20 65 6e 74 |nctions |will ent|
|00001550| 65 72 20 74 68 65 20 64 | 65 62 75 67 67 65 72 20 |er the d|ebugger |
|00001560| 77 68 65 6e 20 63 61 6c | 6c 65 64 2e 0a 0a 43 6f |when cal|led...Co|
|00001570| 6d 70 6c 65 74 65 20 6c | 69 73 74 20 6f 66 20 63 |mplete l|ist of c|
|00001580| 6f 6d 6d 61 6e 64 73 3a | 0a 5c 5c 7b 64 65 62 75 |ommands:|.\\{debu|
|00001590| 67 67 65 72 2d 6d 6f 64 | 65 2d 6d 61 70 7d 22 5d |gger-mod|e-map}"]|
|000015a0| 29 0a 28 66 73 65 74 20 | 27 64 65 62 75 67 2d 6f |).(fset |'debug-o|
|000015b0| 6e 2d 65 6e 74 72 79 20 | 23 5b 28 66 75 6e 63 74 |n-entry |#[(funct|
|000015c0| 69 6f 6e 29 20 22 c0 20 | 88 c1 5c 6e 4b 21 ab 85 |ion) ". |..\nK!..|
|000015d0| c3 c4 5c 6e 5c 22 88 5c | 6e 4b 3a ac 84 c5 5c 6e |..\n\".\|nK:...\n|
|000015e0| 21 88 5c 6e 4b 3a ac 85 | c3 c6 5c 6e 5c 22 88 5c |!.\nK:..|..\n\".\|
|000015f0| 6e c7 5c 6e 89 4b c8 23 | 4d 88 5c 6e 0e 09 3e ac |n.\n.K.#|M.\n..>.|
|00001600| 86 5c 6e 0e 09 42 16 09 | 5c 6e 87 22 20 5b 64 65 |.\n..B..|\n." [de|
|00001610| 62 75 67 67 65 72 2d 72 | 65 65 6e 61 62 6c 65 20 |bugger-r|eenable |
|00001620| 73 75 62 72 70 20 66 75 | 6e 63 74 69 6f 6e 20 65 |subrp fu|nction e|
|00001630| 72 72 6f 72 20 22 46 75 | 6e 63 74 69 6f 6e 20 25 |rror "Fu|nction %|
|00001640| 73 20 69 73 20 61 20 70 | 72 69 6d 69 74 69 76 65 |s is a p|rimitive|
|00001650| 22 20 64 65 62 75 67 2d | 63 6f 6e 76 65 72 74 2d |" debug-|convert-|
|00001660| 62 79 74 65 2d 63 6f 64 | 65 20 22 44 65 66 69 6e |byte-cod|e "Defin|
|00001670| 69 74 69 6f 6e 20 6f 66 | 20 25 73 20 69 73 20 6e |ition of| %s is n|
|00001680| 6f 74 20 61 20 6c 69 73 | 74 22 20 64 65 62 75 67 |ot a lis|t" debug|
|00001690| 2d 6f 6e 2d 65 6e 74 72 | 79 2d 31 20 74 20 64 65 |-on-entr|y-1 t de|
|000016a0| 62 75 67 2d 66 75 6e 63 | 74 69 6f 6e 2d 6c 69 73 |bug-func|tion-lis|
|000016b0| 74 5d 20 35 20 22 5c 0a | 52 65 71 75 65 73 74 20 |t] 5 "\.|Request |
|000016c0| 46 55 4e 43 54 49 4f 4e | 20 74 6f 20 69 6e 76 6f |FUNCTION| to invo|
|000016d0| 6b 65 20 64 65 62 75 67 | 67 65 72 20 65 61 63 68 |ke debug|ger each|
|000016e0| 20 74 69 6d 65 20 69 74 | 20 69 73 20 63 61 6c 6c | time it| is call|
|000016f0| 65 64 2e 0a 49 66 20 74 | 68 65 20 75 73 65 72 20 |ed..If t|he user |
|00001700| 63 6f 6e 74 69 6e 75 65 | 73 2c 20 46 55 4e 43 54 |continue|s, FUNCT|
|00001710| 49 4f 4e 27 73 20 65 78 | 65 63 75 74 69 6f 6e 20 |ION's ex|ecution |
|00001720| 70 72 6f 63 65 65 64 73 | 2e 0a 57 6f 72 6b 73 20 |proceeds|..Works |
|00001730| 62 79 20 6d 6f 64 69 66 | 79 69 6e 67 20 74 68 65 |by modif|ying the|
|00001740| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 6f 66 20 46 | definit|ion of F|
|00001750| 55 4e 43 54 49 4f 4e 2c | 0a 77 68 69 63 68 20 6d |UNCTION,|.which m|
|00001760| 75 73 74 20 62 65 20 77 | 72 69 74 74 65 6e 20 69 |ust be w|ritten i|
|00001770| 6e 20 4c 69 73 70 2c 20 | 6e 6f 74 20 70 72 65 64 |n Lisp, |not pred|
|00001780| 65 66 69 6e 65 64 2e 0a | 55 73 65 20 5c 5c 5b 63 |efined..|Use \\[c|
|00001790| 61 6e 63 65 6c 2d 64 65 | 62 75 67 2d 6f 6e 2d 65 |ancel-de|bug-on-e|
|000017a0| 6e 74 72 79 5d 20 74 6f | 20 63 61 6e 63 65 6c 20 |ntry] to| cancel |
|000017b0| 74 68 65 20 65 66 66 65 | 63 74 20 6f 66 20 74 68 |the effe|ct of th|
|000017c0| 69 73 20 63 6f 6d 6d 61 | 6e 64 2e 0a 52 65 64 65 |is comma|nd..Rede|
|000017d0| 66 69 6e 69 6e 67 20 46 | 55 4e 43 54 49 4f 4e 20 |fining F|UNCTION |
|000017e0| 61 6c 73 6f 20 64 6f 65 | 73 20 74 68 61 74 2e 22 |also doe|s that."|
|000017f0| 20 22 61 44 65 62 75 67 | 20 6f 6e 20 65 6e 74 72 | "aDebug| on entr|
|00001800| 79 20 28 74 6f 20 66 75 | 6e 63 74 69 6f 6e 29 3a |y (to fu|nction):|
|00001810| 20 22 5d 29 0a 28 66 73 | 65 74 20 27 63 61 6e 63 | "]).(fs|et 'canc|
|00001820| 65 6c 2d 64 65 62 75 67 | 2d 6f 6e 2d 65 6e 74 72 |el-debug|-on-entr|
|00001830| 79 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 66 |y #[(&op|tional f|
|00001840| 75 6e 63 74 69 6f 6e 29 | 20 22 c0 20 88 09 ab 97 |unction)| ". ....|
|00001850| 09 c2 98 ac 92 09 c3 09 | 89 4b c4 23 4d 88 c5 09 |........|.K.#M...|
|00001860| 0e 06 5c 22 16 06 09 87 | c7 c8 21 88 c9 ca 0e 06 |..\"....|..!.....|
|00001870| 5c 22 87 22 20 5b 64 65 | 62 75 67 67 65 72 2d 72 |\"." [de|bugger-r|
|00001880| 65 65 6e 61 62 6c 65 20 | 66 75 6e 63 74 69 6f 6e |eenable |function|
|00001890| 20 22 22 20 64 65 62 75 | 67 2d 6f 6e 2d 65 6e 74 | "" debu|g-on-ent|
|000018a0| 72 79 2d 31 20 6e 69 6c | 20 64 65 6c 71 20 64 65 |ry-1 nil| delq de|
|000018b0| 62 75 67 2d 66 75 6e 63 | 74 69 6f 6e 2d 6c 69 73 |bug-func|tion-lis|
|000018c0| 74 20 6d 65 73 73 61 67 | 65 20 22 43 61 6e 63 65 |t messag|e "Cance|
|000018d0| 6c 6c 69 6e 67 20 64 65 | 62 75 67 2d 6f 6e 2d 65 |lling de|bug-on-e|
|000018e0| 6e 74 72 79 20 66 6f 72 | 20 61 6c 6c 20 66 75 6e |ntry for| all fun|
|000018f0| 63 74 69 6f 6e 73 22 20 | 6d 61 70 63 61 72 20 63 |ctions" |mapcar c|
|00001900| 61 6e 63 65 6c 2d 64 65 | 62 75 67 2d 6f 6e 2d 65 |ancel-de|bug-on-e|
|00001910| 6e 74 72 79 5d 20 35 20 | 22 5c 0a 55 6e 64 6f 20 |ntry] 5 |"\.Undo |
|00001920| 65 66 66 65 63 74 20 6f | 66 20 5c 5c 5b 64 65 62 |effect o|f \\[deb|
|00001930| 75 67 2d 6f 6e 2d 65 6e | 74 72 79 5d 20 6f 6e 20 |ug-on-en|try] on |
|00001940| 46 55 4e 43 54 49 4f 4e | 2e 0a 49 66 20 61 72 67 |FUNCTION|..If arg|
|00001950| 75 6d 65 6e 74 20 69 73 | 20 6e 69 6c 20 6f 72 20 |ument is| nil or |
|00001960| 61 6e 20 65 6d 70 74 79 | 20 73 74 72 69 6e 67 2c |an empty| string,|
|00001970| 20 63 61 6e 63 65 6c 20 | 66 6f 72 20 61 6c 6c 20 | cancel |for all |
|00001980| 66 75 6e 63 74 69 6f 6e | 73 2e 22 20 22 61 43 61 |function|s." "aCa|
|00001990| 6e 63 65 6c 20 64 65 62 | 75 67 20 6f 6e 20 65 6e |ncel deb|ug on en|
|000019a0| 74 72 79 20 28 74 6f 20 | 66 75 6e 63 74 69 6f 6e |try (to |function|
|000019b0| 29 3a 20 22 5d 29 0a 28 | 62 79 74 65 2d 63 6f 64 |): "]).(|byte-cod|
|000019c0| 65 20 22 c0 c1 4d 88 c2 | c3 4d 87 22 20 5b 64 65 |e "..M..|.M." [de|
|000019d0| 62 75 67 2d 63 6f 6e 76 | 65 72 74 2d 62 79 74 65 |bug-conv|ert-byte|
|000019e0| 2d 63 6f 64 65 20 23 5b | 28 66 75 6e 63 74 69 6f |-code #[|(functio|
|000019f0| 6e 29 20 22 08 4b 89 19 | 3a 3f ad b9 c2 09 c3 5c |n) ".K..|:?.....\|
|00001a00| 22 1c c5 0c 41 40 c6 0c | 38 c7 0c 38 46 43 1e 08 |"...A@..|8..8FC..|
|00001a10| c9 0c 9b ab 8a ca c9 0c | 38 44 0e 08 42 16 08 cb |........|8D..B...|
|00001a20| 0c 38 ab 88 cb 0c 38 0e | 08 42 16 08 08 cc 0c 40 |.8....8.|.B.....@|
|00001a30| 0e 08 42 42 4d 2a 29 87 | 22 20 5b 66 75 6e 63 74 |..BBM*).|" [funct|
|00001a40| 69 6f 6e 20 64 65 66 6e | 20 61 70 70 65 6e 64 20 |ion defn| append |
|00001a50| 6e 69 6c 20 63 6f 6e 74 | 65 6e 74 73 20 62 79 74 |nil cont|ents byt|
|00001a60| 65 2d 63 6f 64 65 20 32 | 20 33 20 62 6f 64 79 20 |e-code 2| 3 body |
|00001a70| 35 20 69 6e 74 65 72 61 | 63 74 69 76 65 20 34 20 |5 intera|ctive 4 |
|00001a80| 6c 61 6d 62 64 61 5d 20 | 36 5d 20 64 65 62 75 67 |lambda] |6] debug|
|00001a90| 2d 6f 6e 2d 65 6e 74 72 | 79 2d 31 20 23 5b 28 66 |-on-entr|y-1 #[(f|
|00001aa0| 75 6e 63 74 69 6f 6e 20 | 64 65 66 6e 20 66 6c 61 |unction |defn fla|
|00001ab0| 67 29 20 22 c0 09 21 ab | 85 c2 c3 0c 5c 22 87 09 |g) "..!.|....\"..|
|00001ac0| 40 c5 3d ab 88 c6 0c 09 | 41 0e 07 23 87 09 40 c8 |@.=.....|A..#..@.|
|00001ad0| 3d ac 85 c2 c9 0c 5c 22 | 88 ca 89 1e 0b 1e 0c 09 |=.....\"|........|
|00001ae0| 41 41 40 3b ab 93 cd 09 | 9b 16 0c 09 40 09 41 40 |AA@;....|....@.A@|
|00001af0| 09 41 41 40 45 16 0b aa | 8d 09 41 41 16 0c 09 40 |.AA@E...|..AA...@|
|00001b00| 09 41 40 44 16 0b 0e 07 | 0e 0c 40 ce 9a 3d ab 83 |.A@D....|..@..=..|
|00001b10| 09 aa 93 0e 07 ab 89 0e | 0b cf 0e 0c 42 a4 aa 86 |........|....B...|
|00001b20| 0e 0b 0e 0c 41 a4 2a 87 | 22 20 5b 73 75 62 72 70 |....A.*.|" [subrp|
|00001b30| 20 64 65 66 6e 20 65 72 | 72 6f 72 20 22 25 73 20 | defn er|ror "%s |
|00001b40| 69 73 20 61 20 62 75 69 | 6c 74 2d 69 6e 20 66 75 |is a bui|lt-in fu|
|00001b50| 6e 63 74 69 6f 6e 22 20 | 66 75 6e 63 74 69 6f 6e |nction" |function|
|00001b60| 20 6d 61 63 72 6f 20 64 | 65 62 75 67 2d 6f 6e 2d | macro d|ebug-on-|
|00001b70| 65 6e 74 72 79 2d 31 20 | 66 6c 61 67 20 6c 61 6d |entry-1 |flag lam|
|00001b80| 62 64 61 20 22 25 73 20 | 6e 6f 74 20 75 73 65 72 |bda "%s |not user|
|00001b90| 2d 64 65 66 69 6e 65 64 | 20 4c 69 73 70 20 66 75 |-defined| Lisp fu|
|00001ba0| 6e 63 74 69 6f 6e 22 20 | 6e 69 6c 20 70 72 65 63 |nction" |nil prec|
|00001bb0| 20 74 61 69 6c 20 33 20 | 28 64 65 62 75 67 20 27 | tail 3 |(debug '|
|00001bc0| 64 65 62 75 67 29 20 28 | 64 65 62 75 67 20 27 64 |debug) (|debug 'd|
|00001bd0| 65 62 75 67 29 5d 20 34 | 5d 5d 20 32 29 0a 28 66 |ebug)] 4|]] 2).(f|
|00001be0| 73 65 74 20 27 64 65 62 | 75 67 67 65 72 2d 6c 69 |set 'deb|ugger-li|
|00001bf0| 73 74 2d 66 75 6e 63 74 | 69 6f 6e 73 20 23 5b 6e |st-funct|ions #[n|
|00001c00| 69 6c 20 22 c0 90 09 ac | 85 c2 c3 21 aa 9f c2 c4 |il "....|...!....|
|00001c10| 21 88 09 89 1d ab 8e c6 | 0d 40 21 88 c7 20 88 0d |!.......|.@!.. ..|
|00001c20| 41 89 15 ac 72 29 c2 c8 | 21 88 c2 c9 21 91 87 22 |A...r)..|!...!.."|
|00001c30| 20 5b 22 2a 48 65 6c 70 | 2a 22 20 64 65 62 75 67 | ["*Help|*" debug|
|00001c40| 2d 66 75 6e 63 74 69 6f | 6e 2d 6c 69 73 74 20 70 |-functio|n-list p|
|00001c50| 72 69 6e 63 20 22 4e 6f | 20 64 65 62 75 67 2d 6f |rinc "No| debug-o|
|00001c60| 6e 2d 65 6e 74 72 79 20 | 66 75 6e 63 74 69 6f 6e |n-entry |function|
|00001c70| 73 20 6e 6f 77 5c 6e 22 | 20 22 46 75 6e 63 74 69 |s now\n"| "Functi|
|00001c80| 6f 6e 73 20 73 65 74 20 | 74 6f 20 64 65 62 75 67 |ons set |to debug|
|00001c90| 20 6f 6e 20 65 6e 74 72 | 79 3a 5c 6e 5c 6e 22 20 | on entr|y:\n\n" |
|00001ca0| 6c 69 73 74 20 70 72 69 | 6e 31 20 74 65 72 70 72 |list pri|n1 terpr|
|00001cb0| 69 20 22 4e 6f 74 65 3a | 20 69 66 20 79 6f 75 20 |i "Note:| if you |
|00001cc0| 68 61 76 65 20 72 65 64 | 65 66 69 6e 65 64 20 61 |have red|efined a|
|00001cd0| 20 66 75 6e 63 74 69 6f | 6e 2c 20 74 68 65 6e 20 | functio|n, then |
|00001ce0| 69 74 20 6d 61 79 20 6e | 6f 20 6c 6f 6e 67 65 72 |it may n|o longer|
|00001cf0| 5c 6e 22 20 22 62 65 20 | 73 65 74 20 74 6f 20 64 |\n" "be |set to d|
|00001d00| 65 62 75 67 20 6f 6e 20 | 65 6e 74 72 79 2c 20 65 |ebug on |entry, e|
|00001d10| 76 65 6e 20 69 66 20 69 | 74 20 69 73 20 69 6e 20 |ven if i|t is in |
|00001d20| 74 68 65 20 6c 69 73 74 | 2e 22 5d 20 34 20 22 5c |the list|."] 4 "\|
|00001d30| 0a 44 69 73 70 6c 61 79 | 20 61 20 6c 69 73 74 20 |.Display| a list |
|00001d40| 6f 66 20 61 6c 6c 20 74 | 68 65 20 66 75 6e 63 74 |of all t|he funct|
|00001d50| 69 6f 6e 73 20 6e 6f 77 | 20 73 65 74 20 74 6f 20 |ions now| set to |
|00001d60| 64 65 62 75 67 20 6f 6e | 20 65 6e 74 72 79 2e 22 |debug on| entry."|
|00001d70| 20 6e 69 6c 5d 29 0a | | nil]). | |
+--------+-------------------------+-------------------------+--------+--------+