mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 08:26:50 +00:00
Add extra warning if target control ident isn't found on linux systems
This commit is contained in:
@@ -125,6 +125,12 @@ int GetIdentPort(pid_t childPid)
|
||||
RDCWARN("Couldn't locate renderdoc target control listening port between %u and %u in %s",
|
||||
(uint32_t)RenderDoc_FirstTargetControlPort, (uint32_t)RenderDoc_LastTargetControlPort,
|
||||
procfile.c_str());
|
||||
|
||||
if(!FileIO::exists(procfile.c_str()))
|
||||
{
|
||||
RDCWARN("Process %u is no longer running - did it exit during initialisation or fail to run?",
|
||||
childPid);
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
@@ -125,6 +125,12 @@ int GetIdentPort(pid_t childPid)
|
||||
RDCWARN("Couldn't locate renderdoc target control listening port between %u and %u in %s",
|
||||
(uint32_t)RenderDoc_FirstTargetControlPort, (uint32_t)RenderDoc_LastTargetControlPort,
|
||||
procfile.c_str());
|
||||
|
||||
if(!FileIO::exists(procfile.c_str()))
|
||||
{
|
||||
RDCWARN("Process %u is no longer running - did it exit during initialisation or fail to run?",
|
||||
childPid);
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user