================ @@ -462,6 +462,10 @@ void Thread::ResetStopInfo() { } void Thread::SetStopInfo(const lldb::StopInfoSP &stop_info_sp) { + if (stop_info_sp && + stop_info_sp->GetStopReason() == lldb::eStopReasonBreakpoint) + SetThreadHitBreakpointSite(); ---------------- JDevlieghere wrote:
Seems like you could move this after the `m_stop_info_sp` check a few lines below. https://github.com/llvm/llvm-project/pull/128726 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits