From b1fe56ec1dee50ab357297b0e4bbe8c5342e3eac Mon Sep 17 00:00:00 2001 From: Mathias Fussenegger Date: Wed, 13 Nov 2024 16:03:49 +0100 Subject: [PATCH] Handle absent `allThreadsContinued` as true See clarification: https://github.com/microsoft/debug-adapter-protocol/pull/514 --- lua/dap/session.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/dap/session.lua b/lua/dap/session.lua index 12a67036..2bb16f52 100644 --- a/lua/dap/session.lua +++ b/lua/dap/session.lua @@ -1948,7 +1948,7 @@ end ---@param event dap.ContinuedEvent function Session:event_continued(event) - if event.allThreadsContinued then + if event.allThreadsContinued == nil or event.allThreadsContinued == true then for _, t in pairs(self.threads) do t.stopped = false end