Unable to view HTML trace report generated by Systrace tool in Android SDK

Zohaib Hassan picture Zohaib Hassan · May 20, 2013 · Viewed 14.3k times · Source

I am trying to generate trace reports with Systrace tool in the Android SDK, but I cant view the report in the browser. It is blank and does not contain any information. I read in some forums that I need to open the report in Chrome browser, I opened it with Chrome as well but the report is blank.

I have enabled USB Debugging from the Developer Options and device is running Android 4.2 and I am using DDMS tool from the Android SDK to generate the traces.

http://developer.android.com/tools/help/systrace.html

Answer

Zhipeng.C picture Zhipeng.C · May 23, 2016

Firstly, if anyone is using Chrome v50.0+ on OS X or Windows, just try this please.

  1. open chrome browser and go to "chrome://tracing"

  2. in the tracing page, click load and select the systrace generated html file.

Secondly, I think it's a bug which is confirmed by Google.

It looks like this is because modern versions of Chrome have deprecated the Object.observe function[1][2].

For more information, please see this, https://code.google.com/p/android/issues/detail?id=57135