Next: , Previous: Cross-reference, Up: Commands



3.2.8 Inspector

The SLIME inspector is a very fancy Emacs-based alternative to the standard INSPECT function. The inspector presents objects in Emacs buffers using a combination of plain text, hyperlinks to related objects, and “actions” that can be selected to invoke Lisp code on the inspected object. For example, to present a generic function the inspector shows the documentation in plain text and presents each method with both a hyperlink to inspect the method object and a “remove method” action that you can invoke interactively.

The inspector can easily be specialized for the objects in your own programs. For details see the the inspect-for-emacs generic function in swank-backend.lisp.

C-c I
slime-inspect
Inspect the value of an expression entered in the minibuffer.

The standard commands available in the inspector are:

RET
slime-inspector-operate-on-point
If point is on a value then recursivly call the inspcetor on that value. If point is on an action then call that action.
d
slime-inspector-describe
Describe the slot at point.
l
slime-inspector-pop
Go back to the previous object (return from RET).
n
slime-inspector-next
The inverse of l. Also bound to SPC.
q
slime-inspector-quit
Dismiss the inspector buffer.
M-RET
slime-inspector-copy-down
Evaluate the value under point via the REPL (to set `*').