[Lldb-commits] [PATCH] D95713: [lldb/Plugins] Add ScriptedProcess Process Plugin

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 17 12:41:04 PST 2021


mib added inline comments.


================
Comment at: lldb/test/API/functionalities/scripted_process/TestScriptedProcess.py:55
+        scripted_process_example_relpath = "../../../../examples/python/scripted_process/my_scripted_process.py"
+        os.environ['SKIP_SCRIPTED_PROCESS_LAUNCH'] = '1'
+        self.runCmd("command script import " + os.path.join(self.getSourceDir(),
----------------
JDevlieghere wrote:
> Why is this needed?
I use this to load the script without running the `process launch -C ....` command.

You can see the rest of the logic in D95712, in the MyScriptedProcess example.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95713



More information about the lldb-commits mailing list