================
@@ -142,6 +142,18 @@ bool ThreadHasStopReason(lldb::SBThread &thread) {
   case lldb::eStopReasonInterrupt:
   case lldb::eStopReasonHistoryBoundary:
     return true;
+  case lldb::eStopReasonBreakpoint: {
+    // Internal breakpoints must not be considered as valid stop reason.
+    uint64_t data_count = thread.GetStopReasonDataCount();
----------------
JDevlieghere wrote:

```suggestion
    const uint64_t data_count = thread.GetStopReasonDataCount();
```

https://github.com/llvm/llvm-project/pull/173848
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to