[Lldb-commits] [lldb] r218650 - Add a very trivial example for scripted stepping.

Bruce Mitchener bruce.mitchener at gmail.com
Mon Sep 29 18:21:31 PDT 2014


This has some syntax errors in it (on inspection, not trying to use it)...

 - Bruce


On Tue, Sep 30, 2014 at 7:24 AM, Jim Ingham <jingham at apple.com> wrote:

> +    defexplains_stop (self, event):
>

Should be def explains_stop ...


> +    # Since all I'm doing is running a plan, I will only ever get
> askedthis
> +    # if myplan doesn't explain the stop, and in that caseI don'teither.
> +        return False
> +
> +defshould_stop (self, event):
>

Same ...

+if self.step_thread_plan.IsPlanComplete():
> +            self.thread_plan.SetPlanComplete(True)
> +            return True
> +else:
> +        return False
>

Not indented.


> +defshould_step (self):
> +return False
>

etc ...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140930/515f69a8/attachment.html>


More information about the lldb-commits mailing list