<div dir="ltr"><span style="font-size:12.8px">Hello,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm trying to use the C++ SB API to write a function level tracer. Here's my code (along with the terminal output):</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><a href="https://gist.github.com/bibhas/3ae690a2e983b00d96e75d792e92b59c" target="_blank">https://gist.github.com/<wbr>bibhas/<wbr>3ae690a2e983b00d96e75d792e92b5<wbr>9c</a><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">My problem is that when inside the breakpoint callback, I can't seem to make the thread step out (line 47, <a href="http://tracer.mm/" target="_blank">tracer.mm</a>). I understand I might need to use something called ThreadPlans here, although besides SBThreadPlan.h, I can't seem to find any examples of that class anywhere in the repo. I tried stepping out when not in the breakpoint callback but that didn't seem to work either.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">(I did come across a python example here : <a href="http://llvm.org/svn/llvm-project/lldb/trunk/examples/python/scripted_step.py" target="_blank">http://llvm.org/svn/llvm-<wbr>project/lldb/trunk/examples/<wbr>python/scripted_step.py</a> but I'm not sure how I can combine that with a non-interactive debug session approach I'm trying to use here)</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'm using macOS Sierra and have linked my app to xcode's LLDB.framework.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'd be grateful if someone could help me out. Thank you!</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">- Bibhas</div><div class="gmail-yj6qo gmail-ajU" style="margin:2px 0px 0px;font-size:12.8px"></div></div>