[Lldb-commits] [lldb] [lldb][Windows] Suspend new threads when stopped (PR #201558)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 4 06:31:54 PDT 2026


charles-zablit wrote:

> This does look reasonable. I'm wondering why `ProessWindows` doesn't (need to?) do this. Are the threads there already stopped?

I looked into this because I wanted to copy what `ProcessWindows` is doing.
`ProcessWindows` has a `DoUpdateThreadList` method that runs synchronously when a debug exception is processed. New threads are pushed to `m_new_threads` first and then get processed by `DoUpdateThreadList`.

`NativeProcessWindows` does not have that mechanism because it does not inherit from the same class.

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


More information about the lldb-commits mailing list