================
@@ -42,8 +45,13 @@ class ThreadPlanStepOverRange : public ThreadPlanStepRange,
 
   void SetupAvoidNoDebug(LazyBool step_out_avoids_code_without_debug_info);
   bool IsEquivalentContext(const SymbolContext &context);
+  // Clear and create a new ThreadPlanSingleThreadTimeout to detect if program
----------------
jimingham wrote:

ThreadPlanStepOverRange isn't the only thread plan that we want to have this 
behavior for.  For instance, it would be great to do this for 
ThreadPlanStepOut, which we don't even try to run on one thread, IIRC, and in 
order not to duplicate code, we will want to switch the 
ThreadPlanCallUserExpression over to this method as well.  So the code to 
handle the interrupt has to be shareable - maybe a mix-in class that does the 
management of the interrupt?

https://github.com/llvm/llvm-project/pull/90930
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to