• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[Sprint] Do It Yourself Debugging - Force Close Reports

CaRco

Lurker
Hi,

Is there a way to fwd or get a copy of force close reports that get sent to Google? I am trying to support a developer and he asked if I could send the report for faster debugging

I am pretty new but diving deep in the app development world (pretty excited about it :) ! ).

Thanks in advanced.

Carco..
 
CaRco, I know it's possible to send a Logcat but I've never done it.
I believe the idea is to have an app running that will record a log while the force close occurs.
Then you can send the Log to the Developer and he can look to see what caused the force close to begin with. I think there is an app in the Google Play Store.
I hope that helps,

Naters
 
Hi,

I found out how to do it....thanks to Daniel Goller from Trinity Kernels....

The bugreport tool has to be run after getting the FC...On terminal:

bugreport > /sdcard/bugreport.txt

The text file contains the bug report data.

Thx for the feedback.

Carco
 
FYI,

I believe the bugreports themselves are already written to your SD card anyway.

On my VZW GNex, they're written to the /data/media/bugreports directory (noting that /data/media is the actual location of the SD card storage anyway).

I happened to review a bugreport that another member posted-up last night and cautioned him that there is sometimes personal information included in those reports.

Your real Gmail address is likely reported by the logcat portion of the output in the bugreport (which is not an issue for you in this case since you were going to send the report directly yourself).

The big caution would be to scan for any information in the (rather large) report that is produced (I've seen the contents of my clipboard being displayed while debugging my apps in the logcat output; knowing that some apps like password managers often copy things to the clipboard is what gives me pause in this case).

Hope that helps!

:)
 
Back
Top Bottom