-
Notifications
You must be signed in to change notification settings - Fork 266
Stacktraces
Home > What does the bugreport report contain
The bugreport can contain several set of stacktraces:
- The current one, at the moment of saving the bugreport
- A cached one, from the last ANR
- And maybe even more
ChkBugReport parses all these sections and visualizes them in a more human friendly way. For example clicking on the thread name will collapse/expand the stack trace, so you can have a nicer overview. It also extract the priority and policy of the process and shows as icons:
http://sonyxperiadev.github.com/ChkBugReport/examples/bugreport_deadlock_out/data/f00034.html#ch504
It also detects if a thread is waiting on another one, and checks if there is a deadlock (i.e. circular dependency). In such case an item will be added to the Errors chapter.
Some basic coloring is used: threads which are detected as busy will have parts of the stacktrace painted in dark red. Some strict mode violations (e.g. database access on the main thread) is painted with bright red.