================
@@ -86,8 +88,30 @@ lldb::StateType
ScriptedThreadPlanPythonInterface::GetRunState() {
error))
return lldb::eStateStepping;
- return static_cast<lldb::StateType>(obj->GetUnsignedIntegerValue(
- static_cast<uint32_t>(lldb::eStateStepping)));
+ // `should_step` answers a question, it does not return a StateType: the
----------------
alexey-gusarov wrote:
Done — the comment now states the contract and nothing about the old code
https://github.com/llvm/llvm-project/pull/215521
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits