This is a migrated thread and some comments may be shown as answers.

Debug database

2 Answers 63 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Filip
Top achievements
Rank 1
Filip asked on 30 Sep 2013, 01:22 PM
Hello,

I am trying to find .db file created by Simulator on my PC, but I cant. I want to use the tool like this one to open the database and view what is going on.

http://sourceforge.net/projects/sqlitebrowser/postdownload?source=dlp

What do you suggest for database inspection on device (when app is already deployed) and locally?
Where can I find the created database? 

Sorry if this is more general problem, but general answers didnt help.

Thank you.

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 01 Oct 2013, 04:48 PM
Hello Filip,

The SQLite Plugin is not supported in the simulator. To let you debug your code, in the device simulator, Icenium switches to WebSQL, so in other words, there is no .db file while you're in the simulator.

In iOS, the file is stored in the Documents (you can see this in the Objective C code in the Sqlite plugin) and on Android in /data/data which is not normally available on non rooted device. See this post for more information.

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Filip
Top achievements
Rank 1
answered on 04 Oct 2013, 10:14 AM
Thanks Steve, that helped.

Regards
Tags
Apache Cordova
Asked by
Filip
Top achievements
Rank 1
Answers by
Steve
Telerik team
Filip
Top achievements
Rank 1
Share this question
or