I'm developing a windows-8 application. I used to click the DEBUG button in the toolbar of VS2012 and start debugging the application. But this behavior causes the application being re-installed(the corresponding folder in \AppData\Local\Packages is removed and then created), which is not what I want, since the fake data in the local folder is removed. I tried using Attach to a process function in VS, but can't find the right process(like w3wp.exe when debugging web applications). Is this debugging approach possible? Or a better way to debug without removing my fake data in the local folder?
Attach to a win8 process in VS2012
400 Views Asked by Cheng Chen At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in WINDOWS-8
- Finding the default application for a particular file name extension (Even when served by a metro app)
- Add-AppDevPackage.ps1 asking for Name[0] parameter
- How do I create a Gmail client for Windows 8/ 8.1?
- Error 1 The build stopped unexpectedly because of an internal failure. Unable to translate Unicode character
- Load Images In a ListView stored in local App folder windows 8 app
- Get all windows from Alt + Tab excluding Metro windows - Windows 8/8.1
- Win 8 App Set text in data template
- Get an accelerometer's device id(or monitor an accelerometer in the backbround) on WinRT
- Win 8 App Get text from datatemplate listview
- Run an App on windows tablet without uploading to store
- Is there a definitive way to port a Cordova App to Windows 8? (Unsafe code)
- Beginner: How to I access an external SMB server? Windows 8.1
- App install nightmare on Windows : Access denied / Deletefile failed code 5
- SetParent API under Windows-8 changes font size of application menu and ribbon
- JVM hangs on exit
Related Questions in VISUAL-STUDIO-2012
- Pass multiple account variables to single parameter
- Cannot find InvalidCastException in C# Application
- Upgrading separate Project Collection Database to new TFS Version
- How to add asp.net mvc5 to visual studio express 2012 edition?
- How to deploy Windows app with SQL Server database?
- The merge tool is not showing when call Workspace.ResolveConflict method in TFS 2012
- Toggle groups based on a parameter
- SQL server 2008 with 2012 Data tools
- Accessing parent parameters from child package SSIS 2012
- How to add parameters in the comments of a method in Visual Studio after it has been generated?
- No warning on deleting a forward declared pointer (Visual Studio)
- EWS Service.FindItems() throws an exception when using SearchFilter.IsEqualTo
- Label change when button click
- SharePoint 365 Development - Visual Studio 2012 - Actions4 file
- Team Foundation 2012 not recognising changes in vb6 app
Related Questions in ATTACH-TO-PROCESS
- Microsoft Visual Studio 2010 Cannot find or open the PDB file- McAfee
- When i press F5, an "Attach to Process" window opens
- Disable attach to process
- visual studio: attach debugger without starting web debugging
- Explanation of attach to process in PyCharm?
- Can not debug with attach to process VS Pro 2017
- Debugging Classic ASP causes Visual Studio 2008 to crash - how can I fix this?
- Attach to a win8 process in VS2012
- Attach to Process Error: A device attached to the system is not functioning
- VS Code debug Attach using Process ID stopped working
- Debugging Electron renderer process through Visual Studio
- Visual Studio 2015 / MVC 5: Attach to Process: Cannot obtain value of the local variable
- How do you view error details while debugging a VB6 application in Visual Studio 2010?
- Visual Studio remote debugger "invalid access to memory location" feature
- WPF Pass the debugger on to a newly spawned process
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If your metro app is started, you should be able to attach to it. I just tried it on the Release Preview, and it works as expected. However, your data shouldn't be placed in the \Packages folder, but instead in its own folder in \AppData\Roaming or Local. Another approach if you want to test using truly fake data is that you can include the data files in your project either as a resource in Resources.resx or as files in the project that get copied to the output directory.