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

Can't debug core.async/go-loop #1796

Closed
hsestupin opened this issue Jun 30, 2016 · 2 comments
Closed

Can't debug core.async/go-loop #1796

hsestupin opened this issue Jun 30, 2016 · 2 comments

Comments

@hsestupin
Copy link

Expected behavior

Be able to evaluate clojure functions with go-loop for debugging

Actual behavior

cider-error buffer opens with

 Unhandled clojure.lang.ExceptionInfo
   Could not resolve var: a
   {:var a, :file "your_file", :column 5, :line 110}

                  core.clj: 4617  clojure.core/ex-info

Steps to reproduce the problem

Try to "C-u C-M-x" (cider-debug-defun-at-point) on this function:

(defn foo
  [a]
  (go-loop [n 10]
    (println a)
    (if (zero? n)
      :finish
      (recur (dec n)))))

CIDER version information

;; CIDER 0.13.0snapshot (package: 20160623.12), nREPL 0.2.12
;; Clojure 1.8.0, Java 1.8.0_45

Lein/Boot version

Lein 2.6.1

Emacs version

24.5

Operating system

Windows 8

@Malabarba
Copy link
Member

Looks like a duplicate of #1775

@bbatsov bbatsov closed this as completed Jul 15, 2016
@bbatsov
Copy link
Member

bbatsov commented Jul 15, 2016

Closing as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants