Geeks With Blogs
David Paquette CDD (Caffeine Driven Development)

I was recently working on a Windows 8 app, and the application was crashing occasionally.  When resuming the application, the app would crash and close immediately without providing any feedback or information on what went wrong.  The crash was very difficult to reproduce, and I could never get the crash to occur when I was debugging through Visual Studio.  My app was crashing, and I had no idea what was going wrong!  HELP!!!

After doing some digging, I found that when a Windows 8 Store App crashes, an error is logged in Windows Administrative Events.  You can view the details of any app crash by launching the Event Viewer and selecting Administrative Events under Custom Views.  The Source of the error will be listed as AppHost.  AppHost is the process that runs your Windows 8 Store App.  The error details contain all the information you would expect to find, including a stack trace and line numbers.

image

 

Windows 8 Tip:  A shortcut for launching the Event Viewer in Windows 8.  Right click on the bottom left corner of your desktop (where you normally click to go to the Start Screen).  A menu will appear with shortcuts to a number of common system tasks such as Event Viewer, Task Manager, Command Prompt, and Device Manager.

Posted on Saturday, September 15, 2012 12:21 PM Windows 8 , Windows Store Apps | Back to top


Comments on this post: Windows 8 Store App Crash Logs

# re: Windows 8 Store App Crash Logs
Requesting Gravatar...

Go to:
Control panel
Program and Features
Turn Windows Features on or off
Turn off .net Framework 4.5 Advance Services
Left by tom on Mar 24, 2013 6:57 AM

Your comment:
 (will show your gravatar)


Copyright © David Paquette | Powered by: GeeksWithBlogs.net | Join free