facebookarchive / stetho

Stetho is a debug bridge for Android applications, enabling the powerful Chrome Developer Tools and much more.
http://facebook.github.io/stetho/
MIT License
12.66k stars 1.13k forks source link

How to user Database Inspection for encrypted SQLite database #610

Closed csgajcr closed 5 years ago

csgajcr commented 5 years ago

i'm use WCDB for my database framework.but i can't debug the database when i set database password. i think Stetho called DefaultDatabaseErrorHandler when open database failed.then my database has been delete.

longinoa commented 5 years ago

You will likely need to write a custom DatabaseConnectionProvider though I bet you would have to hardcode your password into the provider itself :(

One other thing you can try is to create a dumpapp plugin that you can keep track of state. This would allow you to send the password and then make queries.