labath added inline comments.

================
Comment at: lldb/examples/python/scripted_process/scripted_platform.py:31
+    def list_processes(self):
+        """ Get a list of processes that can be ran on the platform.
+
----------------
I am surprised that you want to go down the "run" path for this functionality. 
I think most of the launch functionality does not make sense for this use case 
(e.g., you can't provide arguments to these processes, when you "run" them, can 
you?), and it is not consistent with what the "process listing" functionality 
does for regular platforms.

OTOH, the "attach" flow makes perfect sense here -- you take the pid of an 
existing process, attach to it, and stop it at a random point in its execution. 
You can't customize anything about how that process is run (because it's 
already running) -- all you can do is choose how you want to select the target 
process.


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

https://reviews.llvm.org/D139250

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

Reply via email to