{"repo":"day8/re-frame-debux","free":true,"listed":false,"github":"https://github.com/day8/re-frame-debux","clone":"git clone https://github.com/day8/re-frame-debux.git","description":"A fork of debux for tracing re-frame code (for eventual consumption by re-frame-10x)","language":"Clojure","stars":46,"topics":["clojurescript","re-frame","debugging","tracing"],"license":"EPL-1.0","category":"analytics","readme_excerpt":"re-frame-debux debux is @philoskim's useful and novel library for tracing Clojure and ClojureScript code, form by form. This library, re-frame-debux , is a fork of debux , that repurposes it for tracing the ClojureScipt code in re-frame event handlers, for later inspection within re-frame-10x. This fork contains a few substantial extension/modifications to debux and, longer term, we would like to investigate merging them back into mainline debux, but the changes we needed to make required quite deep surgery, so in the interests of time, and getting a proof of concept out the door, we started off with a fork. Show Me Here's what the trace looks like in re-frame-10x : Status Already useful!! But it is still a work in progress and there'll likely be little annoyances and bugs, perhaps even big ones. As always, if you run into any issues, please open an issue and we can try and help. We are also looking for collaborators on this interesting project. There's so much potential. (Beware, zippers and macros lurk). Sharp edges include: - Operations like map or for operating on big sequences will generate too much trace. That will be a problem within re-frame-10x . Don't enable tracing for event handlers which have that sort of processing. Not yet. See issue #6 Prerequisites clojure 1.11.0 or later clojurescript 1.11.0 or later How to use re-frame-debux provides two macros: fn-traced (use instead of fn ) defn-traced (use instead of defn ) Use them like this when registering event handl","default_branch":null,"files":null,"tree":[],"storefront":"/r/day8","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/day8/re-frame-debux/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}