(no title)
jpmonettas | 3 years ago
There are a lot of debugging and data visualization tools for the repl with features I haven't found in Common Lisp like :
- https://github.com/jpmonettas/flow-storm-debugger (which I'm actively working on)
jpmonettas | 3 years ago
There are a lot of debugging and data visualization tools for the repl with features I haven't found in Common Lisp like :
- https://github.com/jpmonettas/flow-storm-debugger (which I'm actively working on)
vindarel|3 years ago
> - Instrument any Clojure form
This would be Stickers: annotate any Lisp form with a sticker, run your code, interactively walk through the recordings.
https://joaotavora.github.io/sly/#Stickers
> - Provide a GUI to explore your values and execution flow
SLY has an improved trace dialog: https://joaotavora.github.io/sly/#Trace-Dialog Also LispWorks' visual stepper is easier to use than SLY or Slime's. There is also an in-progress portable visual stepper for CL: https://zenodo.org/record/3742759
> time travel stepper
ah. Nice job.
jpmonettas|3 years ago
Yeah I don't know how stickers trace code, but FlowStorm tracing debugger takes advantage of the immutable data structures used everywhere and by default in Clojure. You can then instrument entire code bases, run them, and tracing is just a matter of retaining(leaking) pointers of every intermediate expression so the GC doesn't collect them. I don't think this is possible when working with mutable objects, since then only way would be to somehow serialize the objects involved at every step so you can analyze the data later, which is prohibitively expensive in most situations.