[Lldb-commits] [lldb] [lldb][windows] fix a race condition when closing the ConPTY (PR #182302)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Sat Feb 21 05:00:21 PST 2026


charles-zablit wrote:

Interesting, I'm able to reproduce this in a regular shell.
However, when running lldb through cppvsdbg in VSCode with the output in the Debug Console, which does not consume VT sequences, I don't see any.

I wonder if ping is doing some shell manipulation which is messing the vscode output?

A simple c++ program with `std::cout` does not have the same issue.

<img width="815" height="521" alt="Screenshot 2026-02-21 at 12 57 25" src="https://github.com/user-attachments/assets/5ca0da8d-d51f-4ec1-9950-991a9c9e068b" />

I suggest that we merge the patch as is, and iterate on it to fix, since it does not affect all debuggees. What do you think?


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


More information about the lldb-commits mailing list