Re: [lldb-dev] How to prolong or duplicate a backstop breakpoint

2017-05-19 Thread Nat! via lldb-dev
Hi Jim, Thanks! I didn't know about ThreadPlanShouldStopHere. And your swift-lldb code does exactly, what I am looking for. Ciao Nat! ___ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Re: [lldb-dev] How to prolong or duplicate a backstop breakpoint

2017-05-19 Thread Jim Ingham via lldb-dev
This is really an orthogonal problem to the thread plans. They are about answering the question "how do I get from A to B?". But you want to get the right answer to "If I land in B, do I want to stop there?" This sort of question is answered with the "ShouldStopHere" mechanism (see source/Ta

[lldb-dev] How to prolong or duplicate a backstop breakpoint

2017-05-19 Thread Nat! via lldb-dev
I adapted the AppleObjcTrampolineHandler to my runtime. It works in as much as that the debugger steps over my intermediate C functions and breaks in the targetted method. Unfortunately when I step out of the method, I am not back at the ObjC call (0x00010ebf) but instead in my intermediat