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

SpoonDeviceLogger ignores native crash traces #520

Open
serhiihuralniksc opened this issue Feb 6, 2018 · 1 comment
Open

SpoonDeviceLogger ignores native crash traces #520

serhiihuralniksc opened this issue Feb 6, 2018 · 1 comment

Comments

@serhiihuralniksc
Copy link

serhiihuralniksc commented Feb 6, 2018

Applications may crash not only in java code and it would be very helpful if captured logs will have native backtraces (if any). At the moment SpoonDeviceLogger simply looks for a first message from instrumented application and then sticks to its pid to filter out all subsequent messages.

Unfortunately logs with native crashes come not from application process but from dedicated service that ptrace()'s crashed app (AFAIK they are debuggerd, crash_dump32, crash_dump_64. Actual one depends on Android version.). So simple pid comparison won't work.

The easies way would be to include all logs with DEBUG tag, as it is used by system for logging native crashes.

@Viish
Copy link

Viish commented Dec 14, 2018

+1 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants