debugging - Collecting stacktrace of crashing widget with ACRA Android -
i trying debug widget of app i'm developing acra have problem. use following code collect stacktrace:
import org.acra.acra; import org.acra.reportinginteractionmode; import org.acra.annotation.reportscrashes; import android.app.application; @reportscrashes(formkey = "", restoasttext = r.string.crash_toast_text, mailto = "mailaddress", mode = reportinginteractionmode.toast, logcatarguments = { "-t", "100", "-v", "long", "activitymanager:i", "myapp:d", "*:s" }) public class myapplication extends application { @override public void oncreate() { super.oncreate(); // following line triggers initialization of acra acra.init(this); } }
the problem happens on samsung devices widget become unresponsive after random amount of time , have no idea causing (i never call onupdate nothing should happen story). i'd use acra collect stacktrace when becomes unresponsive when, example, turn on screen after 10 minutes , see widget not working have no message acra has collected crash report send me email , see problem.
is maybe acra not working? if widget not responsive (the buttons example) means crashed right? have better strategy debug situation?
thank much
if widget not responsive, hasn't crashed, in kind of deadlock or waiting state. why haven't received message acra.
either looks @ threads doing, or injecting healthy amount of debug try determine has locked app.
Comments
Post a Comment