开发者

Parsing debuginfo from dalvikvm (Android) in Eclipse

开发者 https://www.devze.com 2023-03-10 02:05 出处:网络
I\'m making a small Android-app in Eclipse that uses SQLite. It works quite well. When I out of the curiosity browsed through Logcat for some messages, I found repetives of these:

I'm making a small Android-app in Eclipse that uses SQLite. It works quite well. When I out of the curiosity browsed through Logcat for some messages, I found repetives of these:

06-03 18:40:26.721: INFO/dalvikvm(697): Lja开发者_开发问答va/lang/IllegalStateException;: Finalizing cursor android.database.sqlite.SQLiteCursor@43ba3230 on audiovideo that has not been deactivated or closed

Googling around I found that the error is caused by me forgetting a cursor.close(). However, for future reference, how can I get DDMS/Logcat tell me which cursor this error is about? At this point I know which it is (I manually searched all the source code), but as my code grows bigger it would be nice to let DDMS point me in a direction where I can extract data. As for now, everything that's dumped in the debug-info window is uncomprehensible for me.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号