Coder Social home page Coder Social logo

Comments (7)

hegazy avatar hegazy commented on April 28, 2024

The issue of the same package appearing twice is also happening with me and I'm sure that I'm using only one process, but when I use the -p option it works just fine.

from stetho.

jasta avatar jasta commented on April 28, 2024

I noticed this myself recently. Can you try running adb shell cat /proc/net/unix | grep @stetho? This is where the information comes from to populate that list of process names that you see.

from stetho.

antonkrasov avatar antonkrasov commented on April 28, 2024

I see:

00000000: 00000002 00000000 00010000 0001 01 745200 @stetho_com_<MY_PACKAGE>_devtools_remote
00000000: 00000002 00000000 00000000 0001 03 759612 @stetho_com_<MY_PACKAGE>_devtools_remote
00000000: 00000002 00000000 00000000 0001 03 759608 @stetho_com_<MY_PACKAGE>_devtools_remote

Very weird, can you suggest something?

from stetho.

jasta avatar jasta commented on April 28, 2024

That is weird indeed. If you kill your process (adb shell run-as com.mypackage kill pid), what does the ... | grep @stetho line show? Just trying to make sure things are being cleaned up as expected.

from stetho.

antonkrasov avatar antonkrasov commented on April 28, 2024

Ok, so after adb shell run-as com.mypackage kill pid all works fine. But after couple of reinstalls the app, and one uninstall then install I see multiple processes again.

from stetho.

jasta avatar jasta commented on April 28, 2024

Lol, facepalm. Entries show up in this list even for when they are client connections to that server socket. In other words, if you open chrome://inspect and inspect your process you should start seeing multiple entries show up.

This should be fixed by filtering out the results that are not in the bound socket state or just removing duplicates. I'll do a PR :)

from stetho.

antonkrasov avatar antonkrasov commented on April 28, 2024

I see, nice :)

from stetho.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.