Skip to content

Commit

Permalink
Fix reset modules and sources on "restart" request #15
Browse files Browse the repository at this point in the history
  • Loading branch information
svaante committed Feb 17, 2024
1 parent e00d43e commit 4694a73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -1941,6 +1941,8 @@ CONN is inferred for interactive invocations."
(dape--capable-p conn :supportsRestartRequest))
(setf (dape--threads conn) nil)
(setf (dape--thread-id conn) nil)
(setf (dape--modules conn) nil)
(setf (dape--sources conn) nil)
(setf (dape--restart-in-progress-p conn) t)
(dape-request conn "restart" nil
(dape--callback
Expand Down

0 comments on commit 4694a73

Please sign in to comment.