Fork me on GitHub
#cider
<
2021-08-07
>
Carlo15:08:02

I was using the cider debugger, via C-u C-c C-c when evaluating a form. I noticed that on the clojure.core.match/match forms the debugger struggles to show the exact place of the evaluation. How are macros handled in the cider debugger? Could one add explicit support for clojure.match?

vemv15:08:49

relating compiled code to the macros that generated it is kind of a usual problem for tools to have... e.g. clj-kondo or tools.analyzer can show slightly incorrect line/column info when macros are involved for a debugger, I reckon that the debugger can't instrument something that was executed already at macroexpansion time? don't quote me on that though :)