Clojure Conj 2012 - Debuggers for Clojure
Channel: Confreaks
Date: 2015-06-02

Debuggers for Clojure by: Hugo Duncan

With the recent introduction of nREPL , there is hope that many development environments for clojure can re-use nREPL server middleware.

Ritz started as a swank backend for the SLIME environment in Emacs, but has now grown to support the nREPL protocol, and provide a debugger for nrepl.el. It is becoming a library that can provide common operations for all nREPL based clojure development environments.

In this talk we will show how to install and use ritz with nrepl.el to work with stack traces, whether at an exception or a breakpoint. We will demonstrate how to inspect locals in a stack frames, to evaluate expressions in the context of a stack frame, to jump to the source of a frame (clojure or java), and to disassemble a frame's code.