3

I'm making an iPhone app using Monotouch. In my app I create an SQLite DB and use it to store a lot of data. Is there any way to query the data in the phone/simulator? I mean the data that "lives" inside the app?

It would be nice to see if everything is created in the DB as it should be.

Thx Nicolaj

NicolajB
  • 275
  • 1
  • 6
  • 16
  • 1
    http://stackoverflow.com/questions/1108076/where-does-the-iphone-simulator-store-its-data – Jason Mar 01 '12 at 21:39

1 Answers1

4

You can always copy the database file locally and use a tool like Sqlite Explorer to open and view contents:

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

An alternative tool:

http://sqlitebrowser.sourceforge.net/

One for Mac OS X (Intel):

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

Use iPhone Explorer to copy the file over:

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

Edit, I've recently switched to SQLiteStudio.

Community
  • 1
  • 1
Jason Huntley
  • 3,827
  • 2
  • 20
  • 27