- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It would be useful to have the ability to clear down variables and local databases when using the emulator.
For example when you create a login process that stores that information in localStorage, it is difficult to retest the process once the data is stored in the Emulator without writing test procedures to clear this data.
On the device I can uninstall and reinstall but that a pain. It would be much better to be able to clear down those files to be able to retest procedures within the emulator.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Bump, anyone from Intel got any thoughts on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nick,
You can clear the values in Web SQL, IndexedDB, Local Storage and Session Storage using the debugger in the Emulator. Look for the Resources tab, and at the left pane you have access to all these storages.
After delete the values restart the app in emulator.
Regards
Diego
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Thanks for your response.
That is fair enough, but it is not app specific, I see all my local storage variables from all the apps I have developed. It is not always easy to see the local storage variables applicable at the time i.e the current project as I tend to use similar variables across my projects.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nick -- my guess is that if you delete the Cache folder in the XDK global-settings folder it will clear this data for you. Obviously, you'll have to do this when the XDK is not running, as it contains cached data for all sorts of components in the XDK.
- on Mac:
$ cd ~/Library/Application Support/XDK
$ rm -rf Cache - on Windows:
> cd %LocalAppData%\XDK
> del /s/q Cache\*.*
There is also a "Local Storage" folder in that directory, which may also be related (I'm not positive). You'll have to experiment. In the worst case, you can delete everything in that directory except the "global-settings.xdk" file and the XDK will rebuild the whole mess. Don't lose your global-settings.xdk file or you'll lose your projects list, etc.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page