android - How to debug app when it's killed -
my app has bug on activities: when restarts (when it's killed , opened again multitasker), crashes. assume has singleton, i'm not sure. i'd pinpoint problem, can't debug since debugger stops when kill application (i'm using adb shell kill <package-name>
).
does know how can debug problem? (or give me hint problem might matter)
i use ddms (dalvik debug monitor server (ddms) capture stack trace, etc.. after kill , restart our app.
(fyi: installed along rest of android toolset)
while not going allow debug app via vs/xs, can pin area of app cause. there add logging around trouble area (i.e. old-fashion printf
style debugging)
http://developer.android.com/tools/debugging/ddms.html
to launch visual studio:
from xamarin studio:
Comments
Post a Comment