FORUMS
Remove All Ads from XDA

[Xposed] Scoop - Catch the stack trace when an app crashes

1,141 posts
Thanks Meter: 4,746
 
Post Reply Email Thread
Scoop: Catches a stack trace when an app crashes unexpectedly

This module - as the description says - saves the stack trace of a crashing app and displays all crashes in a list so you don't have to look through a long logcat anymore. Additionally you get a notification on every crash (configurable) which already displays the most important information.

This module is based off the module Cracker which sadly isn't being developed anymore so I made an updated version which catches crashes more reliably (supports custom crash handlers set by apps), features material design and contains more functionality such as:
  • Search in crashed apps
  • Search in stack trace
  • Crash preview in notification
  • Combination of same crashes / apps to avoid long repetetive lists
  • Crash blacklist
  • Quick actions to copy / share a stack trace

Download: http://repo.xposed.info/module/tk.wasdennnoch.scoop
Source: https://github.com/wasdennnoch/Scoop

You can help translate this module on GitHub!


Changelog:

Quote:

1.6.4

  • Make app search case-insensitive
  • Use separate view to select text
1.6.3
  • Add button to toggle selection mode (to avoid a bug where you can't scroll anymore)
1.6.2
  • Make stack trace selectable
1.6.1
  • Portugese (BR) and German translation
  • Option to force English language
1.6.0
  • Add option to sort crashes by apps
  • Fix long app names and crash date overlapping
1.5.0
  • Add option to selectively delete crashes
  • Add blacklist to filter out crashes from specific apps
  • Add about screen
1.4.2
  • Fix nothing working at all. Sorry for the many versions, but I don't have a device to test the Xposed part anymore (I updated to Nougat) and also this is the first time I enabled ProGurad in an Xposed module.
1.4.1
  • Completely disable module not activated warning as something seems to be broken
1.4.0
  • Add compatibility with ancient Xposed versions (52)
  • Add search to overview
  • Add option to combine same crashes into one item
1.3.2
  • Fix constant module deactivated warning again
1.3.1
  • Fix constant module disabled warning
  • Fix crash when opening detail view
1.3.0
  • Add option to limit line width
  • Add search function to detail view
1.2.0
  • Added Copy/Share buttons to notification (configurable)
  • Added module not activated "warning"
  • Improved stack trace preview in notification
  • Directly open crash details from notification
  • Minor fixes and improvements (duh)
1.1.0
  • Fix devious face
  • Fix self-crash when catching custom throwable subclasses
  • Minor fixes
1.0.0
  • Initial release



XDA:DevDB Information
Scoop, Xposed for all devices (see above for details)

Contributors
MrWasdennnoch
Source Code: https://github.com/wasdennnoch/Scoop

Xposed Package Name: tk.wasdennnoch.scoop

Version Information
Status: Stable
Current Stable Version: 1.6.4
Stable Release Date: 2017-04-01

Created 2016-12-23
Last Updated 2017-04-01
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	1034
Size:	48.4 KB
ID:	4030138   Click image for larger version

Name:	2.png
Views:	1106
Size:	227.2 KB
ID:	4030139   Click image for larger version

Name:	3.png
Views:	1076
Size:	87.9 KB
ID:	4030140   Click image for larger version

Name:	4.png
Views:	1058
Size:	108.7 KB
ID:	4030141   Click image for larger version

Name:	5.png
Views:	1046
Size:	234.9 KB
ID:	4030142   Click image for larger version

Name:	6.png
Views:	1096
Size:	232.5 KB
ID:	4030143   Click image for larger version

Name:	7.png
Views:	1034
Size:	87.9 KB
ID:	4030144   Click image for larger version

Name:	8.png
Views:	866
Size:	164.7 KB
ID:	4030145   Click image for larger version

Name:	9.png
Views:	746
Size:	154.9 KB
ID:	4030146  
The Following 21 Users Say Thank You to MrWasdennnoch For This Useful Post: [ View ]
 
 
23rd December 2016, 02:28 AM |#2  
mauam's Avatar
Senior Member
Thanks Meter: 8,952
 
More
Amazing, thanks for this Christmas gift
The Following User Says Thank You to mauam For This Useful Post: [ View ] Gift mauam Ad-Free
24th December 2016, 05:37 PM |#3  
KaMyKaSii's Avatar
Senior Member
Thanks Meter: 274
 
More
Could you add line break and search in log? Thank you!
The Following User Says Thank You to KaMyKaSii For This Useful Post: [ View ] Gift KaMyKaSii Ad-Free
24th December 2016, 10:34 PM |#4  
MrWasdennnoch's Avatar
OP Recognized Developer
Thanks Meter: 4,746
 
More
Quote:
Originally Posted by KaMyKaSii

Could you add line break and search in log? Thank you!

Done and available in v1.3.0
(Disabled by default)
The Following 3 Users Say Thank You to MrWasdennnoch For This Useful Post: [ View ]
25th December 2016, 12:40 PM |#5  
Junior Member
Thanks Meter: 0
 
More
Scoop Crash
I'm getting a scoop crash every time I click on any of the items in the list. Can't see anything in the xposed log for it however.

Edit: I am also now seeing the "warning" you implemented when I shouldn't be. Related?

System:
OnePlus3
CM13 Stable
Systemless root
Latest xposed (v87)
25th December 2016, 12:54 PM |#6  
KaMyKaSii's Avatar
Senior Member
Thanks Meter: 274
 
More
Quote:
Originally Posted by MrWasdennnoch

Done and available in v1.3.0
(Disabled by default)

Thank you. I upgraded from version 1.1.0 to 1.3.0 and now it says I do not have Xposed installed. I've restarted, cleaned up data, reinstalled, same thing. Before clearing the data, by clicking on the crash log of another app, Scoop also crash. Attached are the logs logs
Attached Files
File Type: zip LivebootAndXposedLog.zip - [Click for QR Code] (1.16 MB, 36 views)
25th December 2016, 02:56 PM |#7  
Junior Member
Thanks Meter: 4
 
More
Word wrap is very appreciated!

Version 1.2 and 1.3 does't work on n910f (note 4) running marshmallow 6.0.1

Definitely a good upgrade from the good Cracker.

I have an old S3 on 4.1.2 (that i use for debugging) with xposed version 54, could this beatiful tool work on xposed version lower than 81 like Cracker?
25th December 2016, 06:58 PM |#8  
MrWasdennnoch's Avatar
OP Recognized Developer
Thanks Meter: 4,746
 
More
Quote:
Originally Posted by NathanPowellx47

I'm getting a scoop crash every time I click on any of the items in the list. Can't see anything in the xposed log for it however.
I am also now seeing the "warning" you implemented when I shouldn't be. Related?

Quote:
Originally Posted by KaMyKaSii

Thank you. I upgraded from version 1.1.0 to 1.3.0 and now it says I do not have Xposed installed. I've restarted, cleaned up data, reinstalled, same thing. Before clearing the data, by clicking on the crash log of another app, Scoop also crash. Attached are the logs logs

I fixed the warning (yet have to push it), but I need a logcat to resolve the crash. Your one unfortunately didn't contain any crash info. Make sure to capture it during the crash (because the module doesn't always catch itself ).
The Following 2 Users Say Thank You to MrWasdennnoch For This Useful Post: [ View ]
25th December 2016, 07:26 PM |#9  
KaMyKaSii's Avatar
Senior Member
Thanks Meter: 274
 
More
Quote:
Originally Posted by MrWasdennnoch

I fixed the warning (yet have to push it), but I need a logcat to resolve the crash. Your one unfortunately didn't contain any crash info. Make sure to capture it during the crash (because the module doesn't always catch itself :P ).

I took it with the Logcat Extreme app, I hope to be enough. I configured it as verbose, fresh log, main, brief. Let me know if you have any better. You said that Scoop does not log its own crash logs, but actually once here it happened, before clearing Scoop data
Attached Files
File Type: txt Log_2016-12-25_17-27-31.txt - [Click for QR Code] (178.8 KB, 14 views)
The Following User Says Thank You to KaMyKaSii For This Useful Post: [ View ] Gift KaMyKaSii Ad-Free
25th December 2016, 08:29 PM |#10  
MrWasdennnoch's Avatar
OP Recognized Developer
Thanks Meter: 4,746
 
More
Quote:
Originally Posted by KaMyKaSii

I took it with the Logcat Extreme app, I hope to be enough. I configured it as verbose, fresh log, main, brief. Let me know if you have any better. You said that Scoop does not log its own crash logs, but actually once here it happened, before clearing Scoop data

I said "not always"
I fixed it in v1.3.1. The fault was a misconfigured Proguard which removed more than it should have. I enabled Proguard for debug builds to avoid such issues in the future.
The Following 2 Users Say Thank You to MrWasdennnoch For This Useful Post: [ View ]
25th December 2016, 09:07 PM |#11  
KaMyKaSii's Avatar
Senior Member
Thanks Meter: 274
 
More
Quote:
Originally Posted by MrWasdennnoch

I said "not always"
I fixed it in v1.3.1. The fault was a misconfigured Proguard which removed more than it should have. I enabled Proguard for debug builds to avoid such issues in the future.

No more crashes, but the notification that Xposed is not installed persists. I updated the module, cleaned data and rebooted

Edit: Looking at this screenshot I recommend future features like search in the main screen, grouping of same app logs and individual exclusion
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2016-12-25-19-05-29.png
Views:	388
Size:	80.9 KB
ID:	3979777  
Attached Files
File Type: log xposed_error_20161225_190546.log - [Click for QR Code] (71.1 KB, 24 views)
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes