Application throws an error after relaunch
<p>My application throws an error when I attempt to start it from "Recent applications". Problems :</p>

<ol>
<li><p>Error appears only if application was inactive (stopped) for a long time (approximately one hour). I can't catch this error by myself - when I'm killing process by myself and then relaunched it there is no errors!</p></li>
<li><p>I can't see Exception log in debugger, since it's disconnects after so long time.</p></li>
</ol>

<p>How can I catch such kind of errors in debugger? Looks error appears only when OS kills application by itself.</p>

<p><strong>EDIT</strong></p>

<p>I didn't overrided <code>onResume</code> method. Just <code>onStart</code>, and there is nothing special except instantination of my SQLiteOpenHelper.</p>
