Is there a way to view the local storage of a Windows 8 Store app in the debugger?

In my Windows 8 storage application, I save all the data in local storage and I need to debug the data update. Is there a way to access the repository from the Visual Studio 2012 debugger to find out what data the application is currently running?

+4
source share
3 answers

Why look in the debugger? You can get the location and then look in the file using Windows Explorer. Use the debugger to get location from

Windows.Storage.ApplicationData.Current.LocalFolder;

and then open this place in Windows Explorer.

+8
source

Another way: tu run:

 System.Diagnostics.Debug.WriteLine(Windows.Storage.ApplicationData.Current.LocalFolder.Path); 

which shows the exact path in the output window.

+1
source

If you are looking for which application you did not record, you can look in C: \ Users [username] \ AppData \ Local \ Packages [app-guid].

0
source

Source: https://habr.com/ru/post/1435569/


All Articles