xref: /llvm-project/lldb/test/API/functionalities/scripted_process/missing_methods_scripted_process.py (revision cc9ad72713405ef8f2468c7a714a137b4a3343ba)
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