[lldb-dev] Platform::DebugProcess vs Target::CreateProcess + Process->Launch

Greg Clayton gclayton at apple.com
Tue Dec 10 13:01:13 PST 2013


> 
> 
>> When the host launching a process it will fill the new process ID. Also be careful to be sure that you call ProcessLaunchInfo::SetMonitorProcessCallback(...) prior to launching as when the host launches the process, if there isn't a callback in the ProcessLaunchInfo, it will use its own version that will reap the process in the host layer...
> 
> Using the default Host reaper should not be an issue as it defaults to calling Process::SetProcessExitStatus() which is what we want when debugging a process isn't it ?


You are correct.



More information about the lldb-dev mailing list