Comments (2)
Thanks for the report.
rogcat
is not crashing here. You probably ran rogcat
without any arguments. In this mode the default is to restart adb logcat
when it exits. I implemented that this way because you don't have to restart rogcat
when the devices disables USB, reboots etc...
You can set ANDROID_SERIAL
to select one of the devices. The -s
option of adb
is handled in rogcat
but could be added.
Detecting this case where adb
complains about the device selection is not super easy to implement. The return code is 1
and so not usable and the first line from stderr
would be needed to be checked.
Maybe adding some artificial delay between the adb
invocations helps in this default case (The restart option is only set by default when no command is passed to rogcat
.
Anyway you can also run adb logcat | rogcat -
or rogcat "adb logcat"
to stop after the first attempt.
from rogcat.
Think this done. Reopen if not. Cheers.
from rogcat.
Related Issues (20)
- toml vs xml profiles file HOT 1
- Failed to lock terminal HOT 6
- rogcat as a library HOT 5
- Unable to open log device 'crash' HOT 2
- Filter based on PID? HOT 2
- Build failed: No such file or directory (os error 2), src/libcore/result.rs:997:5 HOT 4
- Cut a new release HOT 1
- Support zipped adb bugreports HOT 3
- Readme for profiles seems out of date HOT 1
- Support filter time and process id HOT 3
- (Feature Request) Allow running commands without the "adb" prefix HOT 6
- Add command line switch to select adb device HOT 3
- Rogcat can't parse log messages in the morning until 10 HOT 1
- feature: Add parser for boost logging HOT 1
- bug: Rogcat fails to start with stdin parameter HOT 2
- Missing Package Requirement for Ubuntu 20.04 HOT 4
- Reading file fails HOT 1
- html file format not generate file HOT 4
- `rogcat profiles --list` does not list profiles on rogcat 0.4.5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rogcat.