[Lldb-commits] [lldb] [lldb][Windows] ignore loader breakpoints in system modules (PR #208233)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 13 06:18:30 PDT 2026


charles-zablit wrote:

> What is the logic behind `m_pending_halt`? You set it in `ProcessWindows::DoHalt` but then you also check for it when handling an `EXCEPTION_BREAKPOINT`. Why do you need to check there?

This is to tell appart `int3` exceptions we caused to interrupt the process, versus any other ones (real exceptions). When lldb halts a process, the process will be halted through an `EXCEPTION_BREAKPOINT` but there is no way to differentiate it with a real breakpoint.

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


More information about the lldb-commits mailing list