[Lldb-commits] [lldb] [lldb] Read the bool that a scripted thread plan's should_step returns (PR #215521)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 4 08:29:18 PDT 2026
================
@@ -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
More information about the lldb-commits
mailing list