Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f59449d

Browse files
committedOct 17, 2019
Rename :Continue command to :continue-all, tweak docstring
1 parent 72ac94c commit f59449d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed
 

‎src/cider/nrepl/middleware/debug.clj

+9-5
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ this map (identified by a key), and will `dissoc` it afterwards."}
299299
(def debug-commands
300300
"An unsorted set of commands supported by the debugger."
301301
#{:continue
302-
:Continue
302+
:continue-all
303303
:eval
304304
:here
305305
:in
@@ -318,13 +318,17 @@ this map (identified by a key), and will `dissoc` it afterwards."}
318318
Ask for one of the following debug commands using `read-debug-input`:
319319
320320
next: Return value.
321-
continue: Skip breakpoints for the remainder of this eval session.
321+
continue: Skip the current breakpoint.
322+
continue-all: Skip breakpoints for the remainder of this eval session.
323+
in: Step into a function
322324
out: Skip breakpoints in the current sexp.
323-
inspect: Evaluate an expression and inspect it.
325+
here: Skip all breakpoints up till specified coordinate `coord`
326+
inspect: Prompt for an expression to evaluate and inspect it.
324327
locals: Inspect local variables.
325328
inject: Evaluate an expression and return it.
326329
eval: Evaluate an expression, display result, and prompt again.
327330
stacktrace: Print the current stacktrace, and prompt again.
331+
trace: Continue, printing intermediate expressions and their values.
328332
quit: Abort current eval session.
329333
330334
Response received can be any one of these values. It can also be a map
@@ -356,8 +360,8 @@ this map (identified by a key), and will `dissoc` it afterwards."}
356360
value)
357361
:continue (do (reset! (:skip STATE__) true)
358362
value)
359-
:Continue (do (skip-breaks! :all)
360-
value)
363+
:continue-all (do (skip-breaks! :all)
364+
value)
361365
:out (do (skip-breaks! :deeper (butlast (:coor dbg-state)) (:code dbg-state) force?)
362366
value)
363367
:here (do (skip-breaks! :before coord (:code dbg-state) force?)

0 commit comments

Comments
 (0)
Please sign in to comment.