Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

What happened to my slime backtrace?

49 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Josef Wolf

ungelesen,
07.09.2010, 16:47:2407.09.10
an
Hello,

I am trying to set up slime on opensuse-11.2. The only CL implementation
that is available via official repositories is clisp, so I use this.

Slime seems to work OK on the first sight, with one exception: the backtrace
is really verbose and gives me no valuable information about the reason why
the debugger was invoked. With the example taken from
http://bc.tech.coop/blog/050501.html

(+ hello 2)

I guess I should get a backtrace like

Backtrace:
0: (EVAL HELLO)
1: (EVAL (+ HELLO 2))
--more--

But instead, I get:

Backtrace:
0: [465] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK::*SLDB-STEPPING-P* <--> NIL
1: [462] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK::*SLDB-LEVEL* <--> 0
2: [459] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ *PACKAGE* <--> #<PACKAGE COMMON-LISP-USER>
3: <1/452> #<COMPILED-FUNCTION SWANK::DEBUG-IN-EMACS>
[451] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK::*SLIME-INTERRUPTS-ENABLED* <--> T
4: <1/445> #<COMPILED-FUNCTION SWANK:INVOKE-SLIME-DEBUGGER>
- #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2-1>
5: <1/443> #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2-1>
- #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2-1>
6: [442] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ *DEBUGGER-HOOK* <--> NIL
7: <1/438> #<COMPILED-FUNCTION #:|676 681 (DEFINTERFACE CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-69-3-1|>
- #<COMPILED-FUNCTION #:|676 681 (DEFINTERFACE CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-69-3-1|>
8: <1/433> #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK>
- #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2>
9: <1/430> #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2>
- #<COMPILED-FUNCTION SWANK::SWANK-DEBUGGER-HOOK-2>
10: [429] Handler-Frame für Conditions SWANK::INVOKE-DEFAULT-DEBUGGER
11: [423] Tagbody-Frame (kompiliert) für #(NIL)
12: <1/417> #<COMPILED-FUNCTION SWANK:SWANK-DEBUGGER-HOOK>
[415] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ *DEBUGGER-HOOK* <--> #<COMPILED-FUNCTION SWANK:SWANK-DEBUGGER-HOOK>
13: <1/412> #<SYSTEM-FUNCTION INVOKE-DEBUGGER> 1
[411] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*PRIN-STREAM* <--> #<UNBOUND>
14: [408] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ *PRINT-READABLY* <--> NIL
15: [405] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ *PRINT-ESCAPE* <--> T
16: <1/402> #<SYSTEM-FUNCTION ERROR>
[401] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*ACTIVE-RESTARTS* <-->
(#S(RESTART :NAME SWANK::RETRY :TEST #1=#<COMPILED-FUNCTION SYSTEM::DEFAULT..
17: [398] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*CONDITION-RESTARTS* <--> NIL
18: [394] Block-Frame (kompiliert) für SYSTEM::CHECK-VALUE
19: <1/389> #<COMPILED-FUNCTION SYSTEM::CHECK-VALUE>
- NIL
20: [386] EVAL-Frame für Form HELLO
21: [382] EVAL-Frame für Form (+ HELLO 2)
22: [379] Environment-Bindungs-Frame
VAR_ENV <--> NIL
FUN_ENV <--> NIL
BLOCK_ENV <--> NIL
GO_ENV <--> NIL
DECL_ENV <--> ((DECLARATION OPTIMIZE DECLARATION))
23: <1/374> #<SYSTEM-FUNCTION EVAL>
- (+ HELLO 2)
24: [371] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ - <-->
(PROGN (LOAD "/usr/local/etc/emacs/slime/swank-loader.lisp" :VERBOSE T) (FUNCALL (READ-FROM-STRING "swank-loader:init"))
..)
25: [368] Unwind-Protect-Frame
26: <1/364> #<COMPILED-FUNCTION SWANK::EVAL-REGION>
- #<COMPILED-FUNCTION SWANK::REPL-EVAL-1-1-1>
27: <1/362> #<COMPILED-FUNCTION SWANK::REPL-EVAL-1-1-1>
- #<COMPILED-FUNCTION SWANK::REPL-EVAL-1-1-1>
28: [361] Unwind-Protect-Frame
29: <1/357> #<COMPILED-FUNCTION SWANK::TRACK-PACKAGE>
- #<COMPILED-FUNCTION SWANK::REPL-EVAL-1-1>
30: <1/355> #<COMPILED-FUNCTION SWANK::REPL-EVAL-1-1>
- #<COMPILED-FUNCTION SWANK::REPL-EVAL-1-1>
31: [354] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*ACTIVE-RESTARTS* <-->
(#S(RESTART :NAME ABORT :TEST #<COMPILED-FUNCTION SYSTEM::DEFAULT-RESTART-TEST> :INVOKE-TAG NIL :INVOKE-FUNC..
32: [351] Tagbody-Frame (kompiliert) für #(NIL)
33: <1/344> #<COMPILED-FUNCTION SWANK::CALL-WITH-RETRY-RESTART>
- #<COMPILED-FUNCTION SWANK::REPL-EVAL-1>
34: <1/341> #<COMPILED-FUNCTION SWANK::REPL-EVAL-1>
- #<COMPILED-FUNCTION SWANK::REPL-EVAL-1>
35: <1/339> #<COMPILED-FUNCTION #:|391 393 (DEFINTERFACE CALL-WITH-SYNTAX-HOOKS (FN) ...)-44-3-1|>
- #<COMPILED-FUNCTION #:|391 393 (DEFINTERFACE CALL-WITH-SYNTAX-HOOKS (FN) ...)-44-3-1|>
36: <1/335> #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS>
[334] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ *PACKAGE* <--> #<PACKAGE COMMON-LISP-USER>
37: <1/330> #<COMPILED-FUNCTION SWANK::CALL-WITH-BUFFER-SYNTAX>
- #(NIL "(+ hello 2)\n")
38: <1/326> #<COMPILED-FUNCTION SWANK::REPL-EVAL>
- SWANK::REPL-EVAL
39: <1/323> #<COMPILED-FUNCTION SWANK:LISTENER-EVAL>
- #<COMPILED-FUNCTION SWANK:LISTENER-EVAL>
40: [321] EVAL-Frame für Form (SWANK:LISTENER-EVAL "(+ hello 2)\n")
41: [318] Environment-Bindungs-Frame
VAR_ENV <--> NIL
FUN_ENV <--> NIL
BLOCK_ENV <--> NIL
GO_ENV <--> NIL
DECL_ENV <--> ((DECLARATION OPTIMIZE DECLARATION))
42: <1/313> #<SYSTEM-FUNCTION EVAL>
[312] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK::*SLIME-INTERRUPTS-ENABLED* <--> NIL
43: [309] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK::*BUFFER-PACKAGE* <--> #<UNBOUND>
44: [306] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK::*PENDING-CONTINUATIONS* <--> NIL
45: [303] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK::*BUFFER-READTABLE* <--> #<UNBOUND>
46: [299] Unwind-Protect-Frame
47: <1/294> #<COMPILED-FUNCTION SWANK::EVAL-FOR-EMACS>
- #<COMPILED-FUNCTION SWANK::EVAL-FOR-EMACS>
48: <1/285> #<COMPILED-FUNCTION SWANK::PROCESS-REQUESTS>
[284] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK::*TOPLEVEL-RESTART-AVAILABLE* <--> #<UNBOUND>
49: [281] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK:*SLDB-QUIT-RESTART* <--> #<UNBOUND>
50: [278] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*ACTIVE-RESTARTS* <-->
(#S(RESTART :NAME ABORT :TEST #<COMPILED-FUNCTION SYSTEM::DEFAULT-RESTART-TEST> :INVOKE-TAG #:SIMPLE-RESTART..
51: [275] Tagbody-Frame (kompiliert) für #(NIL)
52: <1/269> #<COMPILED-FUNCTION SWANK::HANDLE-REQUESTS-1>
- #<COMPILED-FUNCTION SWANK::HANDLE-REQUESTS-1>
53: <1/266> #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION>
[264] Tagbody-Frame (kompiliert) für #(SWANK::START)
54: <1/258> #<COMPILED-FUNCTION SWANK::HANDLE-REQUESTS>
- #<COMPILED-FUNCTION SWANK::MAKE-REPL-INPUT-STREAM-1-1>
55: <1/255> #<COMPILED-FUNCTION SWANK::MAKE-REPL-INPUT-STREAM-1-1>
- #<COMPILED-FUNCTION SWANK::MAKE-REPL-INPUT-STREAM-1-1>
56: [254] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ *STANDARD-OUTPUT* <--> #<IO SYNONYM-STREAM *TERMINAL-IO*>
| ~ *STANDARD-INPUT* <--> #<SWANK-BACKEND::SLIME-INPUT-STREAM #x000333DCBA00>
..
57: <1/235> #<COMPILED-FUNCTION SWANK::CALL-WITH-BINDINGS>
- (#<IO UNBUFFERED SOCKET-STREAM CHARACTER 0.0.0.0:59198>)
58: <1/229> #<COMPILED-FUNCTION SWANK::MAKE-REPL-INPUT-STREAM-1>
- #<COMPILED-FUNCTION SWANK::MAKE-REPL-INPUT-STREAM-1>
59: <1/226> #<COMPILED-FUNCTION #:|84 97 (DEFMETHOD STREAM-READ-CHAR (#) ...)-12-1-1-1|>
- #<COMPILED-FUNCTION #:|84 97 (DEFMETHOD STREAM-READ-CHAR (#) ...)-12-1-1-1|>
60: <1/224> #<COMPILED-FUNCTION #:|1102 1106 (DEFINTERFACE CALL-WITH-LOCK-HELD (LOCK FUNCTION) ...)-134-3-1|>
- #<COMPILED-FUNCTION #:|1102 1106 (DEFINTERFACE CALL-WITH-LOCK-HELD (LOCK FUNCTION) ...)-134-..
61: <1/219> #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-LOCK-HELD>
[217] Block-Frame (kompiliert) für STREAM-READ-CHAR
62: <1/212> #<COMPILED-FUNCTION #:|84 97 (DEFMETHOD STREAM-READ-CHAR (#) ...)-12-1-1|>
<2/212> #<STANDARD-GENERIC-FUNCTION STREAM-READ-CHAR>
<3/212> #<STANDARD-GENERIC-FUNCTION STREAM-READ-CHAR>
- #<SWANK..
63: [210] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*READING-STRUCT* <--> NIL
64: [207] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*READING-ARRAY* <--> NIL
65: [204] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*BACKQUOTE-LEVEL* <--> #<UNBOUND>
66: [201] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*READ-REFERENCE-TABLE* <--> #<UNBOUND>
67: [198] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*READ-PRESERVE-WHITESPACE* <--> #<UNBOUND>
68: [195] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*READ-RECURSIVE-P* <--> #<UNBOUND>
69: <1/192> #<SYSTEM-FUNCTION READ>
[188] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*ACTIVE-RESTARTS* <-->
(#S(RESTART :NAME SWANK::CLOSE-CONNECTION :TEST #<COMPILED-FUNCTION SYSTEM::..
70: [185] Catch-Frame für Tag #:SIMPLE-RESTART-23596
71: <1/181> #<COMPILED-FUNCTION SWANK::SIMPLE-REPL>
- #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2-2-2>
72: <1/180> #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2-2-2>
- #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2-2-2>
73: [179] Handler-Frame für Conditions SWANK-RPC:SWANK-PROTOCOL-ERROR
74: <1/172> #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2-2>
- #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2-2>
75: [171] Handler-Frame für Conditions SWANK-RPC:SWANK-PROTOCOL-ERROR
76: [165] Tagbody-Frame (kompiliert) für #(NIL)
77: [158] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ *STANDARD-INPUT* <--> #<IO SYNONYM-STREAM *TERMINAL-IO*>
78: [154] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*ACTIVE-RESTARTS* <-->
(#S(RESTART :NAME ABORT :TEST #<COMPILED-FUNCTION SYSTEM::DEFAULT-RESTART-TEST> :INVOKE-TAG NIL :INVOKE-FUNC..
79: [151] Catch-Frame für Tag #:SIMPLE-RESTART-23551
80: <1/147> #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2>
- #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1-2>
81: <1/145> #<COMPILED-FUNCTION SWANK-BACKEND::CALL-WITH-USER-BREAK-HANDLER-2>
- #<COMPILED-FUNCTION SWANK-BACKEND::CALL-WITH-USER-BREAK-HANDLER-2>
82: [144] Handler-Frame für Conditions SYSTEM::SIMPLE-INTERRUPT-CONDITION
83: <1/136> #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-USER-BREAK-HANDLER>
- #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-USER-BREAK-HANDLER>
84: <1/131> #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-USER-BREAK-HANDLER>
- #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1>
85: <1/128> #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1>
- #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS-1>
86: [127] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ *DEBUGGER-HOOK* <--> #<COMPILED-FUNCTION SWANK:SWANK-DEBUGGER-HOOK>
87: <1/123> #<COMPILED-FUNCTION #:|676 681 (DEFINTERFACE CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-69-3-1|>
- #<COMPILED-FUNCTION #:|676 681 (DEFINTERFACE CALL-WITH-DEBUGGER-HOOK (HOOK FUN) ...)-69-3-1|>
88: <1/118> #<COMPILED-FUNCTION SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK>
- #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION-2-2-1>
89: <1/115> #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION-2-2-1>
- #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION-2-2-1>
90: [114] Variablenbindungs-Frame bindet (~ = dynamisch):
91: <1/109> #<COMPILED-FUNCTION SWANK::CALL-WITH-BINDINGS>
- #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION-2-2>
92: <1/106> #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION-2-2>
- #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION-2-2>
93: [105] Handler-Frame für Conditions SWANK-RPC:SWANK-PROTOCOL-ERROR
94: <1/98> #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION-2>
- #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION-2>
95: [97] Handler-Frame für Conditions SWANK-RPC:SWANK-PROTOCOL-ERROR
96: [91] Tagbody-Frame (kompiliert) für #(NIL)
97: [84] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK::*SLIME-INTERRUPTS-ENABLED* <--> #<UNBOUND>
98: [80] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK-BACKEND:*PENDING-SLIME-INTERRUPTS* <--> #<UNBOUND>
99: [77] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SWANK::*EMACS-CONNECTION* <--> NIL
100: <1/72> #<COMPILED-FUNCTION SWANK::CALL-WITH-CONNECTION>
[70] Unwind-Protect-Frame
101: <1/66> #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS>
- #<COMPILED-FUNCTION SWANK::SIMPLE-SERVE-REQUESTS>
102: <1/63> #<COMPILED-FUNCTION SWANK::SERVE-REQUESTS>
- #<SWANK::CONNECTION #x000333DCB4D0>
103: [60] Unwind-Protect-Frame
104: <1/56> #<COMPILED-FUNCTION SWANK::SERVE-CONNECTION>
- #<COMPILED-FUNCTION SWANK::SETUP-SERVER-SERVE>
105: <1/51> #<COMPILED-FUNCTION SWANK::SETUP-SERVER-SERVE>
- NIL
106: <1/45> #<COMPILED-FUNCTION SWANK::SETUP-SERVER>
- #(NIL "/tmp/slime.11376")
107: <1/38> #<COMPILED-FUNCTION SWANK:START-SERVER>
<2/37> #<SYSTEM-FUNCTION FUNCALL> 4
- SWANK:START-SERVER
108: [33] EVAL-Frame für Form (FUNCALL (READ-FROM-STRING "swank:start-server") "/tmp/slime.11376" :CODING-SYSTEM "iso-latin-1-unix")
109: <1/30> #<SPECIAL-OPERATOR PROGN>
[29] EVAL-Frame für Form
(PROGN (LOAD "/usr/local/etc/emacs/slime/swank-loader.lisp" :VERBOSE T) (FUNCALL (READ-FROM-STRING "swank-loader:init"))
..)
110: <1/26> #<SYSTEM-FUNCTION SYSTEM::READ-EVAL-PRINT> 2
[24] Variablenbindungs-Frame bindet (~ = dynamisch):
| ~ SYSTEM::*ACTIVE-RESTARTS* <--> NIL
111: [21] Tagbody-Frame (kompiliert) für #(NIL)
112: [16] Catch-Frame für Tag DEBUG


Is there a way to reduce verbosity to a sane amount (like shown on Clementson's Blog)?

Pascal J. Bourguignon

ungelesen,
07.09.2010, 19:13:3307.09.10
an
Josef Wolf <j...@raven.inka.de> writes:

> Hello,
>
> I am trying to set up slime on opensuse-11.2. The only CL implementation
> that is available via official repositories is clisp, so I use this.
>
> Slime seems to work OK on the first sight, with one exception: the backtrace
> is really verbose and gives me no valuable information about the reason why
> the debugger was invoked. With the example taken from
> http://bc.tech.coop/blog/050501.html
>
> (+ hello 2)
>
> I guess I should get a backtrace like
>
> Backtrace:
> 0: (EVAL HELLO)
> 1: (EVAL (+ HELLO 2))
> --more--

Indeed. And this is what you get if you use clisp, in a terminal or
with M-x inferior-lisp RET:


[pjb@kuiper :0.0 ~]$ clisp -norc
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8

Welcome to GNU CLISP 2.48 (2009-07-28) <http://clisp.cons.org/>

Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2009

Type :h and hit Enter for context help.

[1]> (+ hello 2)

*** - SYSTEM::READ-EVAL-PRINT: variable HELLO has no value
The following restarts are available:
USE-VALUE :R1 Input a value to be used instead of HELLO.
STORE-VALUE :R2 Input a new value for HELLO.
ABORT :R3 Abort main loop
Break 1 [2]> :bt
<1/155> #<SYSTEM-FUNCTION SHOW-STACK> 3
<2/148> #<COMPILED-FUNCTION SYSTEM::PRINT-BACKTRACE>
<3/142> #<COMPILED-FUNCTION SYSTEM::DEBUG-BACKTRACE>
<4/133> #<SYSTEM-FUNCTION SYSTEM::READ-EVAL-PRINT> 2
<5/130> #<COMPILED-FUNCTION SYSTEM::BREAK-LOOP-2-3>
<6/126> #<SYSTEM-FUNCTION SYSTEM::SAME-ENV-AS> 2
<7/112> #<COMPILED-FUNCTION SYSTEM::BREAK-LOOP-2>
<8/110> #<SYSTEM-FUNCTION SYSTEM::DRIVER>
<9/70> #<COMPILED-FUNCTION SYSTEM::BREAK-LOOP>
<10/67> #<SYSTEM-FUNCTION INVOKE-DEBUGGER> 1
<11/57> #<SYSTEM-FUNCTION ERROR>
<12/44> #<COMPILED-FUNCTION SYSTEM::CHECK-VALUE>
[41] EVAL frame for form HELLO
[37] EVAL frame for form (+ HELLO 2)
Printed 12 frames
Break 1 [2]>


> But instead, I get:
>
> Backtrace:
> 0: [465] Variablenbindungs-Frame bindet (~ = dynamisch):
> | ~ SWANK::*SLDB-STEPPING-P* <--> NIL
> 1: [462] Variablenbindungs-Frame bindet (~ = dynamisch):
> | ~ SWANK::*SLDB-LEVEL* <--> 0


This is the goodness of slime for you.


> Is there a way to reduce verbosity to a sane amount (like shown on
> Clementson's Blog)?

Good question.


Clisp has actually five different backtrace commands: :bt1 to :bt5
You can select :btN by default for :bt with :m N
But slime does it on its own.


--
__Pascal Bourguignon__ http://www.informatimago.com/

Steven E. Harris

ungelesen,
07.09.2010, 20:56:2407.09.10
an
Josef Wolf <j...@raven.inka.de> writes:

> the backtrace is really verbose and gives me no valuable information
> about the reason why the debugger was invoked.

I complained similarly in October 2008.¹ Helmut Eller explains in his
reply that we're suffering a deficiency in CLISP, and it would take some
customization of SLIME to whittle the noise down to the more palatable
trace provided by other CL implementations.


Footnotes:
¹ http://thread.gmane.org/gmane.lisp.slime.devel/7876

--
Steven E. Harris

Josef Wolf

ungelesen,
08.09.2010, 17:13:5708.09.10
an
On 2010-09-08, Steven E. Harris <s...@panix.com> wrote:
> Josef Wolf <j...@raven.inka.de> writes:
>
>> the backtrace is really verbose and gives me no valuable information
>> about the reason why the debugger was invoked.
>
> I complained similarly in October 2008.¹ Helmut Eller explains in his
> reply that we're suffering a deficiency in CLISP, and it would take some
> customization of SLIME to whittle the noise down to the more palatable
> trace provided by other CL implementations.

Looks like I'll have to go and try sbcl...

Pascal J. Bourguignon

ungelesen,
08.09.2010, 17:54:0608.09.10
an
Josef Wolf <j...@raven.inka.de> writes:

Or drop slime.

0 neue Nachrichten