Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

my android device reboots itself automatically sometimes,so i need to get a way to debug whats causing that.

i know about logcat,but what about the debug msgs when logcat isnt running,does logcat gives a dump of logs that android device would be generating while those were not being accessed through logcat?

generally this happens when ur device reboots unexpectedly,and the cause is unknown so that one could replicate it.

how to know of whats causing those reboots.. or anything that happens while logcat isnt running?

Any thoughts?

share|improve this question
add comment

1 Answer

Logs are written even when logcat is not connected, although I believe the logs are limited to a certain maximum size. They are, however, cleared on reboot. You can try using an app such as aLogCat to persist the logs to files, and hope it can catch whatever is misbehaving "in the act".

share|improve this answer
    
actually i was using alogcat app. but once my device restarted and upon reboot i quickly restarted alogcat,i saw some red text for fatal error regarding some sql thing.. later i checked the log texts that i set up to auto save.. they didnt had the sql error.. so there is something wrong with that app.. –  ashishsony Mar 5 '11 at 6:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.