[Lldb-commits] [lldb] [lldb-dap] Fix a race during shutdown (PR #91591)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu May 9 23:32:18 PDT 2024


labath wrote:

> I can't remember: does terminate come before disconnecting? Or is it the other way around?

Disconnect docs say "The disconnect request asks the debug adapter to disconnect from the debuggee (thus ending the debug session) and then to shut down itself (the debug adapter).", so it has to be the last request. The terminate just terminates the debuggee and, if the client&server support it, the debuggee can be restarted after that.

https://github.com/llvm/llvm-project/pull/91591


More information about the lldb-commits mailing list