Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: Debugging Tools , Previous: Finding Source Definitions , Up: Tools , Home: Introduction

Clamps Overview

Code Inspection

Sly comes with a powerful and versatile code inspector. It can be invoked by pressing the <C-c I> key sequence after an expression to be inspected. The expression will be prompted in the Emacs Minibuffer and needs to be confirmed with the <Enter> key. A new buffer will open with information about the inspected expression.

sly-inspector.png
Figure 2: The Sly Inspector invoked on (make-instance 'sfz)

Depending on the type of expression it is possible to navigate to subsequences of inspected sequences, see and inspect the slots of structures or classes and their value, modify/unbind them, unbind symbols and much more1. It is very important to get acquainted and comfortable using the inspector right from the start of working with Clamps as it provides invaluable information about the current state of a Lisp session.

The buffer of the inspector can be closed with the <q> key.

Footnotes:

1

For more information check the SLY-Inspector menu in Emacs or consult this page.