Search code examples
androiddatabasesqlitedebugginglive

Sqlite plugin for Eclipse: debug sqlite database on Android device live


I want to debug database on android device. My application is very heavy and I do too much insertion queries and other stuff so running on emulator is hell slow so I am debugging it on Android phone.

But I could not debug database, like in Iphone you can see even insertion made into database. I want to see the current situation of database without rooting my phone and pulling it from my phone and then opening it into some 3rd party software.

Is there any way to debug Android database on mobile phones without rooting and pulling database out?

There is tool sqlite3 but the problem is that when you connect to shell it shows you ugly data and furthermore if database is not created running any query actually creates database in database folder so you would never knew that your database was not created by your logic.

I hope you understand what I am looking for.


Solution

  • There is information on how to connect eclipse to a sqlite database here. Another alternative is using this Firefox add-on to manage your sqlite database.