xref: /llvm-project/lldb/test/API/functionalities/scripted_process/missing_methods_scripted_process.py (revision 0a21144614950ce063d8dac6394307bd3be604cd)
1import os
2
3
4class MissingMethodsScriptedProcess:
5    def __init__(self, exe_ctx, args):
6        pass
7
8
9def __lldb_init_module(debugger, dict):
10    if not "SKIP_SCRIPTED_PROCESS_LAUNCH" in os.environ:
11        debugger.HandleCommand(
12            "process launch -C %s.%s"
13            % (__name__, MissingMethodsScriptedProcess.__name__)
14        )
15    else:
16        print(
17            "Name of the class that will manage the scripted process: '%s.%s'"
18            % (__name__, MissingMethodsScriptedProcess.__name__)
19        )
20