================ @@ -51,6 +51,12 @@ STRING_EXTENSION_OUTSIDE(SBThread) for idx in range(self.GetStopReasonDataCount()) ] + def set_selected_frame(self, frame): + if isinstance(frame, SBFrame): + self.SetSelectedFrame(frame.idx) ---------------- kastiglione wrote:
I've updated this helper method to check the `SBFrame` argument value belongs to the target instance of `SBThread`. If it doesn't, a `ValueError` is raised. Does that work for you @jimingham? https://github.com/llvm/llvm-project/pull/123981 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits