Skip to content

Commit 8bc62ad

Browse files
fix(dap): not printing symbolicated call stack after another crash (#290)
1 parent b6a1e01 commit 8bc62ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/xcodebuild/integrations/dap-symbolicate.lua

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ function M.process_logs(output, on_symbolicate)
105105
symbolicate(crashCallStack, function(symbolicated)
106106
on_symbolicate(symbolicated)
107107
end)
108+
crashCallStack = {}
108109
end, 100)
109110

110111
break
@@ -120,6 +121,7 @@ end
120121
---Use to notify the module that the debugger has started.
121122
function M.dap_started()
122123
foundException = false
124+
crashCallStack = {}
123125
end
124126

125127
return M

0 commit comments

Comments
 (0)