[lldb-dev] Stepping in a breakpoint callback with Python

Nikita Karetnikov via lldb-dev lldb-dev at lists.llvm.org
Sat Sep 28 16:01:59 PDT 2019


> So the problem you are having is getting the scripted step started in
> with the SBThread::StepUsingScriptedStep?  Did you try passing False for
> "resume_immediately" and then returning False from "trace".

Yes, I did.  In fact, I tried all these combinations:

resume_immediately = True,  return True
resume_immediately = True,  return False
resume_immediately = False, return True
resume_immediately = False, return False

None of them produces the trace.

I think the 'thread step-scripted' hack should work for my usecase, but I
have to try it.  I'll let you know if I hit some limitation again.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190929/ad1dd3ee/attachment.html>

More information about the lldb-dev mailing list