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
Properly handle nested eval requests #74
Comments
@adamrenklint aha, thanks for reporting this probably makes sense, because on server-side, we request-eval from javascript, it stops on a breakpoint and then in dirac prompt we request another code snippet to be compiled and evaluated by javascript, but the server-side component can deal only with one request at a time - it processes them in serial queue and still waiting for result of the first eval https://github.com/binaryage/dirac/blob/master/src/lib/dirac/lib/weasel_server.clj#L197 I will probably have to think about this scenario, maybe allow multiple pending eval requests or somehow treat the eval request paused on a breakpoint as “completed” |
Another piece of information: After getting into this state, and I resume execution after the breakpoint, save the file in my editor with the updated Then eval |
Do you see full call-stack of Minimal case:
I assume calling |
Yes, I can confirm that wrapping |
broken when introducing fix for issue #74
Should be fixed in v1.2.26. |
Taken from
https://gist.github.com/adamrenklint/497d6db755eba21b965ee56f610314b8
The text was updated successfully, but these errors were encountered: