Debug database

3 posts, 0 answers
  1. Filip
    Filip avatar
    35 posts
    Member since:
    Jul 2013

    Posted 30 Sep 2013 Link to this post


    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.

    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. Steve
    Steve avatar
    10941 posts

    Posted 01 Oct 2013 Link to this post

    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.

    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.
  3. Filip
    Filip avatar
    35 posts
    Member since:
    Jul 2013

    Posted 04 Oct 2013 Link to this post

    Thanks Steve, that helped.

Back to Top