Skip to content

Commit

Permalink
Reset *skip-breaks* in dbg when first breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Cartmanishere committed Apr 10, 2021
1 parent 289f011 commit 04f68e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## master (unreleased)

### Bugs Fixed
* [#695](https://github.com/clojure-emacs/cider-nrepl/pull/695): Fix delayed middleware loading issue.

## 0.25.10 (2021-04-08)

### Bugs Fixed
Expand Down
3 changes: 2 additions & 1 deletion src/cider/nrepl/middleware/debug.clj
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,8 @@ this map (identified by a key), and will `dissoc` it afterwards."}
[coor val locals STATE__]
(if-let [first-coor @(:session-id STATE__)]
(when (= first-coor coor)
(reset! (:skip STATE__) false))
(reset! (:skip STATE__) false)
(skip-breaks! false))
(reset! (:session-id STATE__) coor))
(cond
(skip-breaks? coor STATE__) val
Expand Down

0 comments on commit 04f68e6

Please sign in to comment.