2012-03-01 86 views
2

我正在使用Monotouch制作iPhone应用程序。 在我的应用程序中,我创建了一个SQLite数据库并用它来存储大量数据。 有什么方法可以查询电话/模拟器中的数据吗?我的意思是应用程序内“生活”的数据?在iPhone上调试SQLite数据库

很高兴看到一切是否都在数据库中创建,因为它应该是。

THX Nicolaj

+1

http://stackoverflow.com/questions/1108076/where-does-the-iphone-simulator-store-its-data – Jason 2012-03-01 21:39:00

回答

4

您可以随时在本地复制数据库文件,并使用像sqlite的资源管理器工具打开并查看内容:

http://www.singular.gr/sqlite/

一种替代工具:

http://sqlitebrowser.sourceforge.net/

One for Mac OS X(Intel):

http://www.desertsandsoftware.com/?realmesa_home

使用iPhone Explorer将文件拷贝过来:

How to view the data in sqlite file running in iphone application?

编辑,我最近切换到SQLiteStudio

+0

thx很多!这真的有助于调试 – NicolajB 2012-03-02 11:37:37