[Lldb-commits] [lldb] [lldb-dap] Send a 'process' event on restart. (PR #163833)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 17 09:10:48 PDT 2025
================
@@ -136,7 +137,9 @@ void SendProcessEvent(DAP &dap, LaunchMethod launch_method) {
EmplaceSafeString(body, "name", exe_path);
const auto pid = dap.target.GetProcess().GetProcessID();
body.try_emplace("systemProcessId", (int64_t)pid);
- body.try_emplace("isLocalProcess", true);
+ body.try_emplace("isLocalProcess",
+ dap.target.GetPlatform().GetName() ==
+ lldb::SBPlatform::GetHostPlatform().GetName());
----------------
jimingham wrote:
Knowing that something is running locally seems a generally useful piece of information, that should be simple to ask.
https://github.com/llvm/llvm-project/pull/163833
More information about the lldb-commits
mailing list