[Lldb-commits] [PATCH] Fix expression evaluation with logs (step + verbose) enabled.

Jim Ingham jingham at apple.com
Thu Mar 26 15:37:37 PDT 2015

The "step" log should show you if any code got run between the stop to evaluate "ShouldStop" and when you go to get the register context here.  I would be surprised if this is happening, however.  If any thread plans need to run code to do some task, they just push another ThreadPlanCallFunction, return false from ShouldStop and then the secondary call get done in the course of handling the thread plans.

I suspect the thread plugin is not properly managing its register context.  The ThreadPlan code just calls m_thread.GetRegisterContext(), we're stopped so that should always return a valid register context.  Maybe when we ran the old context was not invalidated as it should have been?



More information about the lldb-commits mailing list