aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/completion/thread_plan_script.py
blob: cb0bff517560d3f2890ad8487d4a940045175b32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#############################################################################
# This script is just to provide a thread plan which won't be popped instantly
# for the completion test. The thread plan class below won't really do anything
# itself.

import lldb


class PushPlanStack:
    def __init__(self, thread_plan, dict):
        pass

    def explains_stop(self, event):
        return False

    def should_stop(self, event):
        return True

    def should_step(self):
        return True