We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e48c811 commit fc880e8Copy full SHA for fc880e8
lua/dap/session.lua
@@ -647,7 +647,7 @@ end
647
648
---@param stopped dap.StoppedEvent
649
function Session:event_stopped(stopped)
650
- coroutine.wrap(function()
+ require("dap.async").run(function()
651
local co = coroutine.running()
652
653
if self.dirty.threads or (stopped.threadId and self.threads[stopped.threadId] == nil) then
@@ -724,7 +724,7 @@ function Session:event_stopped(stopped)
724
self:_show_exception_info(stopped.threadId, bufnr, current_frame)
725
end
726
727
- end)()
+ end)
728
729
730
0 commit comments