mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Return ReplayStatus when launching/injecting, use to indicate JDWP error
* If android studio or other android tools are open when a package is launched for debugging, they greedily jump on it and connect which prevents us from connecting.
This commit is contained in:
@@ -372,12 +372,12 @@ void ReplayManager::ReopenCaptureFile(const QString &path)
|
||||
m_CaptureFile->OpenFile(path.toUtf8().data(), "rdc", NULL);
|
||||
}
|
||||
|
||||
uint32_t ReplayManager::ExecuteAndInject(const rdcstr &exe, const rdcstr &workingDir,
|
||||
const rdcstr &cmdLine,
|
||||
const rdcarray<EnvironmentModification> &env,
|
||||
const rdcstr &capturefile, CaptureOptions opts)
|
||||
ExecuteResult ReplayManager::ExecuteAndInject(const rdcstr &exe, const rdcstr &workingDir,
|
||||
const rdcstr &cmdLine,
|
||||
const rdcarray<EnvironmentModification> &env,
|
||||
const rdcstr &capturefile, CaptureOptions opts)
|
||||
{
|
||||
uint32_t ret = 0;
|
||||
ExecuteResult ret;
|
||||
|
||||
if(m_Remote)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user