<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<br><br>I'm now investigating how to start a remote debugging session. <br>I create a debugger, then a target (with the local path of the executable), and then a process with SBTarget::ConnectRemote. When I get the status changed event that tells me the debugger is connected I try to launch the remote application with SBProcess::RemoteLaunch but I get an error: "Remote Launch result: No such file or directory (path to my local executable)" and that's because the remote executable is not stored in the same path than the local one, but I haven't found a way to give that information to SBTarget or SBProcess. I have tried to pass it as the first argument of SBProcess::RemoteLaunch but it doesn't work as the first thing this method does is to insert the local target path in the argument list. <div>If I comment the lines 175 and 176 in SBProcess.cpp that does the insertion:</div><div><div style="margin: 0px; font-size: 10px; font-family: 'Source Code Pro'; color: rgb(0, 132, 0); ">// if (exe_module)</div><div style="margin: 0px; font-size: 10px; font-family: 'Source Code Pro'; color: rgb(0, 132, 0); ">// launch_info.SetExecutableFile(exe_module->GetFileSpec(), true);</div><div>It then works beautifully.</div><br>What is the correct way or achieving what I'm trying to do? Is there a need for a new API or did I once again overlooked something?<br><br>Thanks!<br><br>S.<br><br><br></div></body></html>