-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Instrumented function is stopped only once when called by core.async thread/go. #1869
Comments
I'm seeing something similar with emacs 25 and cider 0.15.0, but core.async is not involved. I'm still trying to find a simple-to-reproduce example, but I thought I'd lend my voice to this issue. |
I am pretty sure that this is due to the fact how @cch1, would be really great if you could isolate an example without core.async. |
Expected behaviour
Get back to the debugger mode after pressing c and calling the instrumented code again from
thread
orgo
block. Code should stop on the debugger on each iteration of the loop insidelooper
function.Actual behavior
Debugger is initialized only on the first run and cannot be reinitialized again.
Steps to reproduce the problem
Use the snippet above to get into the problematic environment. Call
looper
inthread
orgo
macro and instrumenttestfun
. After pressingc
(for continue) or removing instrumentation (by evaluatingtestfun
definition normally) debugger cannot be reached anymore. I have not found any way to get back to the debugger at this point.The debugger seems to be working properly when working with java.lang.Thread directly.
Environment & Version information
CIDER version information
commit @0803409
;; CIDER 0.15.0snapshot, nREPL 0.2.12
;; Clojure 1.8.0, Java 1.7.0_111
Lein/Boot version
Leiningen 2.7.1 on Java 1.7.0_111 OpenJDK 64-Bit Server VM
Emacs version
GNU Emacs 25.0.95.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2016-07-24
Operating system
Linux Mint 17 Qiana, kernel 3.13.0-24-generic
The text was updated successfully, but these errors were encountered: