clayborg added inline comments.

================
Comment at: lldb/docs/use/python-reference.rst:598
   if __name__ == '__main__':
       # Create a new debugger instance in your module if your module
       # can be run from the command line. When we run a script from
----------------
We need to initialize the debugger first before doing anything or  no plug-ins 
will be available:


================
Comment at: lldb/docs/use/python-reference.rst:608
+      # Finally, dispose of the debugger you just made.
+      lldb.SBDebugger.Destroy(debugger)
+
----------------
We also need to terminate using the static terminate function.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117237/new/

https://reviews.llvm.org/D117237

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to