Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stepping fails inside quasiquoted forms #847

Open
frankadrian314159 opened this issue Nov 19, 2020 · 4 comments
Open

Stepping fails inside quasiquoted forms #847

frankadrian314159 opened this issue Nov 19, 2020 · 4 comments
Assignees
Labels
bug Something isn't working debugger

Comments

@frankadrian314159
Copy link

frankadrian314159 commented Nov 19, 2020

The following code runs as expected when not stepping, returning the map {:a "foo", :b "bar"}:
`(ns foo.core)

(defn foo []
(let [a "foo"
b "bar"]
{:a ~a :b ~b}))
When I step into the quasiquoted form, :a is evaluated and prints on the screen. But when I try to step into, out of, or over the unquoted form ~a, the stepper hangs.

@bpringe bpringe added bug Something isn't working debugger labels Nov 19, 2020
@bpringe bpringe self-assigned this Nov 19, 2020
@bpringe
Copy link
Member

bpringe commented Nov 19, 2020

I assigned myself to this so I can easily find it when I have time to work on it, hopefully in the coming weeks, but if you or anyone else wants to fix it then please do. We have tests for breakpoint finding logic, so hopefully it'll be fairly simple to figure out by just adding this as a new case and making the test pass.

@frankadrian314159
Copy link
Author

frankadrian314159 commented Nov 19, 2020 via email

@bpringe
Copy link
Member

bpringe commented Dec 19, 2020

A friend of mine is working on this - just noting that here so anyone who's looking knows it's being worked on.

@cjbarre
Copy link

cjbarre commented Dec 21, 2020

Hey there I have submitted a PR which allows the test case specified here to be debugged. #881

Please check it out and try to break it with more advanced test cases, I have more tests than there were originally for simple forms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working debugger
Projects
None yet
Development

No branches or pull requests

3 participants