xref: /llvm-project/lldb/test/API/functionalities/completion/thread_plan_script.py (revision 2238dcc39358353cac21df75c3c3286ab20b8f53)
1#############################################################################
2# This script is just to provide a thread plan which won't be popped instantly
3# for the completion test. The thread plan class below won't really do anything
4# itself.
5
6import lldb
7
8
9class PushPlanStack:
10    def __init__(self, thread_plan, dict):
11        pass
12
13    def explains_stop(self, event):
14        return False
15
16    def should_stop(self, event):
17        return True
18
19    def should_step(self):
20        return True
21