Hi,
I recently upgraded from 2007-05-24 to 2007-11-16 snapshot, and I notice there are some useful features that are now gone. I've tried enabling basically everything in contrib/, but those two I can't get back:
- Inspecting a (plain) function object now only shows its name and docstring. It used to show much more, in particular recorded debug information, source file and disassembled compiled code
- There are no presentations in SLDB backtraces. I find presentations immensely useful for inspecting backtraces, and I miss them a lot. I do get presentations everywhere else, including streams, but not in the debugger
I'm using SBCL 1.0.10 on x86/Linux, and SBCL hasn't changed since I used the May snapshot.
Cheers, Maciej
* Maciej Katafiasz [2007-11-19 21:18+0100] writes:
Hi,
I recently upgraded from 2007-05-24 to 2007-11-16 snapshot, and I notice there are some useful features that are now gone. I've tried enabling basically everything in contrib/, but those two I can't get back:
- Inspecting a (plain) function object now only shows its name and
docstring. It used to show much more, in particular recorded debug information, source file and disassembled compiled code
I fixed that now in CVS.
- There are no presentations in SLDB backtraces. I find presentations
immensely useful for inspecting backtraces, and I miss them a lot. I do get presentations everywhere else, including streams, but not in the debugger
A part of the functionality for presentation can achieved with ordinary commands. The other part was removed.
I removed presentations from the debugger and I won't put them back.
Helmut.
Den Tue, 20 Nov 2007 22:33:18 +0100 skrev Helmut Eller:
- There are no presentations in SLDB backtraces. I find presentations
immensely useful for inspecting backtraces, and I miss them a lot. I do get presentations everywhere else, including streams, but not in the debugger
A part of the functionality for presentation can achieved with ordinary commands. The other part was removed.
I removed presentations from the debugger and I won't put them back.
Could you elaborate on that decision, your rationale and intended replacements? Being able to inspect the actual parameters in a backtrace scores about 12 on a 1-10 usefulness scale, losing it is a huge hit. Could you move it to a contrib package instead?
Cheers, Maciej
Maciej Katafiasz mathrick@gmail.com writes:
Den Tue, 20 Nov 2007 22:33:18 +0100 skrev Helmut Eller:
I removed presentations from the debugger and I won't put them back.
Could you elaborate on that decision, your rationale and intended replacements? Being able to inspect the actual parameters in a backtrace scores about 12 on a 1-10 usefulness scale, losing it is a huge hit.
I, at least, seem to be able to inspect parameters in a backtrace by hitting RET on a frame and then RET on the relevant local variable line. I have no particularly fancy contribs active -- only slime-asdf, slime-autodoc, and slime-c-p-c.
Is this not the case for you?
Best,
Christophe
Den Tue, 20 Nov 2007 23:55:18 +0000 skrev Christophe Rhodes:
I, at least, seem to be able to inspect parameters in a backtrace by hitting RET on a frame and then RET on the relevant local variable line. I have no particularly fancy contribs active -- only slime-asdf, slime-autodoc, and slime-c-p-c.
Is this not the case for you?
Indeed, it seems to work. I know I tried doing various things to see if something doesn't trigger an inspection, I guess I somehow managed to press RET on wrong lines.
Cheers, Maciej
* Maciej Katafiasz [2007-11-21 00:18+0100] writes:
Could you elaborate on that decision, your rationale and intended replacements?
Presentations are a contrib package and debugger doesn't know about that. Some kind of hook could be used, but that would be rather complicated. Despite that, presentations are (still) only useful in combination with a mouse and I almost never use the mouse with Emacs.
Inspection can be done with RET. For the rest, I use slime-eval-in-frame.
Helmut.
Helmut Eller heller@common-lisp.net writes:
presentations are (still) only useful in combination with a mouse and I almost never use the mouse with Emacs.
FYI, I have just checked in keybindings for presentation-related commands.
Matthias
On Thu, Jan 10, 2008 at 02:52:24PM +0100, Matthias Koeppe wrote:
Helmut Eller heller@common-lisp.net writes:
presentations are (still) only useful in combination with a mouse and I almost never use the mouse with Emacs.
FYI, I have just checked in keybindings for presentation-related commands.
hello, with your modifications to slime-presentations.el I get this when starting Emacs:
Debugger entered--Lisp error: (wrong-type-argument characterp 134217839) format("?\C-%c" 134217839) slime-control-modified-char(134217839) (let ((modified ...)) (define-key slime-presentation-command-map (vector modified) command)) (progn (define-key slime-presentation-command-map (vector key) command) (let (...) (define-key slime-presentation-command-map ... command))) (while (consp --cl-var--) (setq --cl-var-- (car --cl-var--) key (pop --cl-var--) command (car --cl-var--)) (progn (define-key slime-presentation-command-map ... command) (let ... ...)) (setq --cl-var-- (cdr --cl-var--))) (let* ((--cl-var-- slime-presentation-bindings) (--cl-var-- nil) (key nil) (command nil)) (while (consp --cl-var--) (setq --cl-var-- ... key ... command ...) (progn ... ...) (setq --cl-var-- ...)) nil) (catch (quote --cl-block-nil--) (let* (... ... ... ...) (while ... ... ... ...) nil)) (cl-block-wrapper (catch (quote --cl-block-nil--) (let* ... ... nil))) (block nil (let* (... ... ... ...) (while ... ... ... ...) nil)) (loop for (key command) in slime-presentation-bindings do (progn (define-key slime-presentation-command-map ... command) (let ... ...))) slime-presentation-init-keymaps() slime-presentations-init()
Stelian Ionescu sionescu@common-lisp.net writes:
On Thu, Jan 10, 2008 at 02:52:24PM +0100, Matthias Koeppe wrote:
I have just checked in keybindings for presentation-related commands.
hello, with your modifications to slime-presentations.el I get this when starting Emacs:
Debugger entered--Lisp error: (wrong-type-argument characterp 134217839) format("?\C-%c" 134217839) slime-control-modified-char(134217839)
I have checked in a possible fix for this -- please try again.
On Thu, Jan 10, 2008 at 07:31:00PM +0100, Matthias Koeppe wrote:
Stelian Ionescu sionescu@common-lisp.net writes:
On Thu, Jan 10, 2008 at 02:52:24PM +0100, Matthias Koeppe wrote:
I have just checked in keybindings for presentation-related commands.
hello, with your modifications to slime-presentations.el I get this when starting Emacs:
Debugger entered--Lisp error: (wrong-type-argument characterp 134217839) format("?\C-%c" 134217839) slime-control-modified-char(134217839)
I have checked in a possible fix for this -- please try again.
it works, thanks :)
On Thu, Jan 10, 2008 at 07:31:00PM +0100, Matthias Koeppe wrote:
Stelian Ionescu sionescu@common-lisp.net writes:
On Thu, Jan 10, 2008 at 02:52:24PM +0100, Matthias Koeppe wrote:
I have just checked in keybindings for presentation-related commands.
hello, with your modifications to slime-presentations.el I get this when starting Emacs:
Debugger entered--Lisp error: (wrong-type-argument characterp 134217839) format("?\C-%c" 134217839) slime-control-modified-char(134217839)
I have checked in a possible fix for this -- please try again.
I've also noticed that copying presentations to the REPL using middle-mouse-click doesn't work any more. the attached patch fixes that
Stelian Ionescu sionescu@common-lisp.net writes:
I've also noticed that copying presentations to the REPL using middle-mouse-click doesn't work any more. the attached patch fixes that
Committed, thanks.
Matthias
Den Tue, 20 Nov 2007 22:33:18 +0100 skrev Helmut Eller:
I recently upgraded from 2007-05-24 to 2007-11-16 snapshot, and I notice there are some useful features that are now gone. I've tried enabling basically everything in contrib/, but those two I can't get back:
- Inspecting a (plain) function object now only shows its name and
docstring. It used to show much more, in particular recorded debug information, source file and disassembled compiled code
I fixed that now in CVS.
I'm seeing the same thing again, everything but the docstring and name has disappeared. CVS snapshot from 15 minutes ago.
Cheers, Maciej