Skip to content

Latest commit

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

nightshell

A graphical debug repl derived from Nightcode and REDL. Use it to launch breakpoints in interactive REPL windows.

Installation

Create a :nightshell user profile in ~/.lein/profiles.clj

{:nightshell
{:plugins
[]
:dependencies
[[sundbry/nightshell "0.1.6"]]
:injections
[(require 'nightshell.core)
(nightshell.core/enable)]}}

Usage

Run with your nightshell profile included: lein with-profile nightshell repl

; Enable breakpoints
(nightshell.core/enable)
; Create 
(defnfoo [msg]
(nightshell.core/break (str"Hello" msg)))
; Run your program
(foo"world!")
; Inspect the return value of a breakpoint
(return)
; Continue execution after a breakpoint
(nightshell.core/continue my-value)
; Disable breakpoints (useful for escaping loops)
(nightshell.core/disable)
; Catch exceptions in a breakpoint
(nightshell.core/catch-break (throw (Exception."Zomg!")))

Change log

Version 0.1.6

  • Upgrade dependencies for Clojure 1.10

Version 0.1.5

  • Fix error loading clojure.tools.reader
  • Upgrade dependencies

About

A graphical debug repl for Clojure, inspired by Smalltalk.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages