Diagnose Windows 8 Modern App Crash on Start

16 Aug

While developing a Windows 8 (and Windows 8.1) Modern Application recently I ran into a problem where the application was crashing immediately after the splash screen.  Windows manages the display of the splash screen while the application is loading, so even an application that crashes immediately will show the splash screen briefly.

In my case the application was a Windows 8 Javascript application (jsproj), but this should apply to any application.

You want to look in the event log, in the following location:

You will often see “Error” entries with source “AppHost”.

windows 8 error event log

In the case of a javascript application the location of the exception is specified with the error: “App crashed with an unhandled Javascript exception”

Leave a Reply

Your email address will not be published. Required fields are marked *