🍒 [lldb][Windows] ignore loader breakpoints in system modules (#208233) - #13561
Open
charles-zablit wants to merge 1 commit into
Open
Conversation
charles-zablit
commented
Jul 29, 2026
- [lldb][Windows] ignore loader breakpoints in system modules llvm/llvm-project#208233
Author
|
@swift-ci please test |
Author
|
@swift-ci please test windows |
1 similar comment
Author
|
@swift-ci please test windows |
adrian-prantl
approved these changes
Jul 30, 2026
) Currently, when debugging a program with `lldb-dap` on Windows and using the `integratedTerminal` option, lldb-dap immediatly stops with an `0x80000003` Exception. This is because `ntdll` executes an `int3` breakpoint during process initialization when a debugger is attached. This patch makes `lldb` and `lldb-server` skip the first `int3` after launch when it originates from a system module (the loader's debugger notification). Only that first loader breakpoint is skipped. Any later int3, including `__debugbreak()`, `__builtin_debugtrap()` in the debuggee's own code, still stops the debugger. Fixes llvm#198763 (cherry picked from commit 83530ce)
charles-zablit
force-pushed
the
cz/lldb/windows/loader-int3-to-stable-21.x
branch
from
July 30, 2026 19:00
5958991 to
015e24c
Compare
Author
|
@swift-ci please test |
Author
|
@swift-ci please test windows |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.