Skip to content

Commit 1577901

Browse files
committed
Attempt to fix #234
1 parent e7a5144 commit 1577901

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dap-mode.el

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,13 @@ thread exection but the server will log message."
794794
(run-hooks 'dap-session-changed-hook))
795795
debug-session)))
796796
("exited" (dap--mark-session-as-terminated debug-session))
797+
("continued"
798+
(-let [(&hash "threadId" thread-id) body]
799+
(remhash thread-id (dap--debug-session-thread-states debug-session))
800+
(if (and (equal thread-id (dap--debug-session-thread-id debug-session))
801+
(equal debug-session (dap--cur-session)))
802+
(dap--resume-application debug-session)
803+
(run-hooks 'dap-session-changed-hook))))
797804
("stopped"
798805
(-let [(&hash "threadId" thread-id "type" "reason") body]
799806
(puthash thread-id type (dap--debug-session-thread-states debug-session))

0 commit comments

Comments
 (0)