From 48d759e2892879ab9833e05e4c154062d2b51253 Mon Sep 17 00:00:00 2001 From: Cody Northrop Date: Wed, 21 Jun 2017 11:55:47 -0600 Subject: [PATCH] android: Print stderr from adb commands --- renderdoc/replay/entry_points.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/renderdoc/replay/entry_points.cpp b/renderdoc/replay/entry_points.cpp index 56cee1ac2..800a6544d 100644 --- a/renderdoc/replay/entry_points.cpp +++ b/renderdoc/replay/entry_points.cpp @@ -608,6 +608,8 @@ string adbExecCommand(const string &device, const string &args) if(result.strStdout.length()) // This could be an error (i.e. no package), or just regular output from adb devices. RDCLOG("STDOUT:\n%s", result.strStdout.c_str()); + if(result.strStderror.length()) + RDCLOG("STDERR:\n%s", result.strStderror.c_str()); return result.strStdout; } string adbGetDeviceList()