Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perfetto incompatible with chrome://inspect #837

Open
jdarpinian opened this issue Jul 3, 2024 · 2 comments
Open

Perfetto incompatible with chrome://inspect #837

jdarpinian opened this issue Jul 3, 2024 · 2 comments
Labels
fixit good first issue Good for newcomers

Comments

@jdarpinian
Copy link

If using chrome://inspect to do port forwarding and/or remote inspection of Chrome on a device, Perfetto will fail to record traces on the device with this unhelpful error:

    A WebUSB error occurred
    ✕
    Is adb already running on the host? Run this command and try again.
    > adb kill-server

    
    For details see b/159048331

At the very least, this error message could be improved for non-googlers. But ideally, it would be able to work simultaneously. If that's not possible, it would be nice at least if Perfetto could do port forwarding itself.

@LalitMaganti
Copy link
Collaborator

Seems a reasonable request, we'll probably get to it during a fixit.

@LalitMaganti LalitMaganti added good first issue Good for newcomers fixit labels Jul 3, 2024
@primiano
Copy link
Collaborator

primiano commented Jul 3, 2024

I'm not sure that is really fixable (other than improving the error message).
Chroem://inspect uses webusb and takes exclusive access of the USB interface for ADB.
Perfetto wants to do the same.

You can't have both at the same time. Not without some quite convoluted work across chrome://inspect and perfetto, which nobody will probably ever get to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixit good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants