Fork me on GitHub
#calva
<
2020-11-18
>
fadrian05:11:00

Are there issues with debugging quasiquoted forms? I have the following example function:

(ns foo.core)

(defn foo []
  (let [a "foo"
        b "bar"]
    `{:a ~a
      :b ~b}))
When I run it normally, it returns the expected map, but when I instrument the function for debugging and step into it, it evaluates the form :a properly, but then when I either try a step-over or step-out after that, the debugger seems to hang. Any ideas?

bringe16:11:18

When I tried to step over after :a I got this error message. But yours just hangs? No error?

bringe16:11:35

I get that error when I step into as well

bringe16:11:36

Please file an issue with this case and your experience. I may have missed some cases when writing the breakpoint finding logic (referenced cider's logic for this, but I don't think I matched everything from cider exactly).

fadrian04:11:07

Sorry it took me so long to respond. I did not notice an error when I stepped into it. My debugger simply hangs. I will file an issue.

👍 1