Re: [lldb-dev] "C++ SB API : Stepping out within a breakpoint callback"

2017-07-10 Thread Jim Ingham via lldb-dev
In lldb as it stands now, any action in a breakpoint command callback that continues the process you are debugging (step, step-out, fin, etc) will terminate the callback. That restriction is a side effect of the fact that the lldb command interpreter is not re-entrant. It couldn't handle the s

[lldb-dev] "C++ SB API : Stepping out within a breakpoint callback"

2017-07-09 Thread Bibhas Acharya via lldb-dev
Hello, I'm trying to use the C++ SB API to write a function level tracer. Here's my code (along with the terminal output): https://gist.github.com/bibhas/3ae690a2e983b00d96e75d792e92b59c My problem is that when inside the breakpoint callback, I can't seem to make the thread step out (line 47, tr