1import lldb 2 3 4@lldb.command() 5def decorated1(debugger, args, exe_ctx, result, dict): 6 """ 7 Python command defined by @lldb.command 8 """ 9 print("hello from decorated1", file=result) 10 11 12@lldb.command(doc="Python command defined by @lldb.command") 13def decorated2(debugger, args, exe_ctx, result, dict): 14 """ 15 This docstring is overridden. 16 """ 17 print("hello from decorated2", file=result) 18 19 20@lldb.command() 21def decorated3(debugger, args, result, dict): 22 """ 23 Python command defined by @lldb.command 24 """ 25 print("hello from decorated3", file=result) 26 27 28@lldb.command("decorated4") 29def _decorated4(debugger, args, exe_ctx, result, dict): 30 """ 31 Python command defined by @lldb.command 32 """ 33 print("hello from decorated4", file=result) 34