File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 22 (:require
33 [clj-stacktrace.core :refer [parse-exception]]
44 [clj-stacktrace.repl :refer [pst-str]]
5- [clojure.core.async :refer [<!! >!! chan go-loop thread]]
5+ [clojure.core.async :refer [<!! >!! chan go go -loop thread]]
66 [clojure.string :as string]
77 [mobdap.lua :as lua]
88 [taoensso.timbre :as log])
117117 (when-let [command (<!! to-debug-server)]
118118 (log/info " Handler -> Debug Server:" command)
119119 (case (:cmd command)
120- :run (send-command! server-handle " run" )
120+ :run (go ( send-command! server-handle " run" ) )
121121
122122 :set-breakpoints (do
123123 ; this command only gets called before executing a command so we
128128 {:keys [line]} breakpoints]
129129 (send-command-setb! server-handle filename line)))
130130
131- :step-in (send-command! server-handle " step" )
131+ :step-in (go ( send-command! server-handle " step" ) )
132132
133- :step-out (send-command! server-handle " out" )
133+ :step-out (go ( send-command! server-handle " out" ) )
134134
135- :over (send-command! server-handle " over" )
135+ :over (go ( send-command! server-handle " over" ) )
136136
137137 :stacktrace (let [stack (send-command-stack! server-handle)]
138138 (>!! to-adapter {:cmd :stacktrace :stack stack :seq (:seq command)}))
You can’t perform that action at this time.
0 commit comments