New GNU ELPA package: inspector - Tool for inspection of Emacs Lisp objects.
Sacha Chua <[email protected]> Mon, 30 May 2022 10:44:14 -0400
| Newsgroups | gmane.emacs.announce |
|---|---|
| Message-ID | <[email protected]> |
Summary: Tool for inspection of Emacs Lisp objects.
Requires: emacs-25
Website: https://github.com/mmontone/emacs-inspector
Keywords: debugging tool emacs-lisp development
Maintainer: Mariano Montone <[email protected]>
Author: Mariano Montone <[email protected]>
Overview
Inspector tool for Emacs Lisp objects.
Similar to inspectors available for Smalltalk and Common Lisp, but for Emacs Lisp.
Installation
This package is available from ELPA.
M-x package-install RET inspector RET
Usage
Invocation
M-x inspect-expression to evaluate an elisp expression and inspect the result.
M-x inspect-last-sexp to evaluate last sexp in current buffer and inspect the result.
Inside the inspector
M-x inspector-pop bound to letter l, to navigate to previous object.
M-x inspector-quit bound to letter q, to exit the inspector.
Also, M-x forward-button and M-x backward-button are conveniently bound to n and p. They can be used for fast navigation across the buttons that the inspector displays.
Finally, you can use M-x eval-expression bound to letter e, to evaluate an elisp expression using the object currently being inspected (it is bound to *).
From the Emacs debugger
When on an Emacs debugging backtrace, press letter i to inspect the pointed frame and its local variables.