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