[Lldb-commits] [lldb] [lldb][windows] Keep int3 breakpoints inside the debugger on lldb-server (PR #197669)
via lldb-commits
lldb-commits at lists.llvm.org
Thu May 14 06:00:06 PDT 2026
================
@@ -564,7 +564,18 @@ NativeProcessWindows::OnDebugException(bool first_chance,
return ExceptionResult::BreakInDebugger;
}
- [[fallthrough]];
+ // Any remaining STATUS_BREAKPOINT is a breakpoint instruction in the
+ // program's own code (e.g. `__debugbreak()` or `__builtin_debugtrap()`).
+ // Stop the debugger and let the user decide what to do.
+ std::string desc =
----------------
Nerixyz wrote:
You'll need to wrap this `case` in a block to be able to declare variables inside:
```cpp
case Foo: {
std::string a_string;
} break;
```
https://github.com/llvm/llvm-project/pull/197669
More information about the lldb-commits
mailing list