Files
clang-p2996/lldb/test/API/functionalities/completion/thread_plan_script.py
Gongyu Deng f99a18bbaa [lldb] tab completion for thread plan discard
Dedicated completion for the command `thread plan discard` with a corresponding
test case.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D83234
2020-08-11 10:08:16 +02:00

21 lines
500 B
Python

#############################################################################
# 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