New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 599166 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

chrome://inspect?tracing should show error from Chrome on Android

Project Member Reported by zh...@chromium.org, Mar 30 2016

Issue description

If something is wrong when tracing Chrome on Android remotely, there is no way to tell what goes wrong because chrome://inspect?tracing does not show any error from the remote device.

One example is  issue 576292 .

So if there is a file on Android device: /data/local/chrome-trace-config.json, Chrome on Android will automatically start tracing when it is launched (startup tracing). Later, if you open chrome://inspect?tracing on the host machine and try to trace Chrome remotely (clicking "Record"), nothing happens (a dialog should have prompted which categories to enable).

The problem is that when you try to trace remotely, you will get DevTools error: Tracing is already started.
https://code.google.com/p/chromium/codesearch#chromium/src/content/browser/devtools/protocol/tracing_handler.cc&q=%22Tracing%20is%20already%20started%22

Such error is not transferred back to the host. So it is hard to figure out the problem.
 

Comment 1 by zh...@chromium.org, Mar 30 2016

Cc: zh...@chromium.org primiano@chromium.org nduca@chromium.org skyos...@chromium.org petrcermak@chromium.org
Owner: caseq@chromium.org
Status: Assigned (was: Untriaged)
Andrey, can you take a look at this? Thanks!

Comment 2 by zh...@chromium.org, Mar 30 2016

Cc: caseq@chromium.org dsinclair@chromium.org
 Issue 576292  has been merged into this issue.

Comment 3 by caseq@chromium.org, Jul 23 2016

Cc: -zh...@chromium.org
Owner: zh...@chromium.org
Zhen, we actually send the error over the protocol, it's rather a matter of handling this error here:

https://cs.chromium.org/chromium/src/third_party/catapult/tracing/tracing/ui/extras/about_tracing/inspector_tracing_controller_client.html?rcl=0&l=107
Cc: -petrcermak@chromium.org
Cc: -petrcermak@chromium.org
Components: Speed>Tracing
Labels: -Performance-Tracing
Components: -Platform>DevTools>Tracing -Platform>DevTools>Performance>Tracing

Comment 8 by zh...@chromium.org, Dec 16 2017

Owner: ----
Status: Available (was: Assigned)
Project Member

Comment 9 by sheriffbot@chromium.org, Dec 17

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment