Coder Social home page Coder Social logo

Comments (6)

JakeWharton avatar JakeWharton commented on August 22, 2024

I don't see this behavior. Do you see the read process death line in pidcat still? Please paste the line from logcat where the new process is being started.

from pidcat.

johnjohndoe avatar johnjohndoe commented on August 22, 2024

I just realized this is not happening on all computers I work with. I will check in a few hours on the particular machine and check if it is happening with a particular app only.

from pidcat.

johnjohndoe avatar johnjohndoe commented on August 22, 2024

I was able to reproduce the behavior with another application. So I ran python pidcat.py with or without a package specifier (no difference). The first time all debug output from the applications appears. When I rebuild the application with Android Studio while letting pidcat run there is no output anymore when the application starts up again.

When I re-install the same .apk via adb the log output works again. So it seems to be specific to Android Studio. I use the latest version which dates to 1.1 Preview 2 as of today.

from pidcat.

johnjohndoe avatar johnjohndoe commented on August 22, 2024

What exactly do you mean by "read process death line"?

from pidcat.

thorinii avatar thorinii commented on August 22, 2024

Are you sure Android Studio logcat is not enabled? Normally, when you install an app from AS it opens the Android/logcat tab. It tends to steal logs from other logcat processes (here pidcat) when active.

EDIT: I can confirm this happens with Android Studio even with logcat off. It also happens whenever I execute:

$ adb install -r <apk>

Pidcat gives me a Process <package name> (PID: 9931) ended and nothing more. ^C and re-executing pidcat gets things flowing again.

I'm using ADB 1.0.32 with a Samsung SM-T230NU.

from pidcat.

thorinii avatar thorinii commented on August 22, 2024

Hmm I switched to a HTC phone and the logs continue.

from pidcat.

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.