Tag Archives: JavaScript

Detect DEBUG build configuration via JavaScript in Windows Store apps

Update (2012-09-29): Now you can use the package WinRT-JsDebugSymbols available via NuGet instead of manually adding the code to your project, and will receive future updates. One of the things I miss when developing Windows Store apps in HTML/JavaScript, is … Continue reading

Posted in JavaScript, NuGet, Windows 8 | Tagged , , , , , , | 3 Comments

Detect if the Debugger is attached via JavaScript in a Windows Store app

There are some cases where we want a block of o code or function to be executed only when we are debugging the application, usually to show detailed error messages that are intended only for the developer to see.

Posted in JavaScript, Windows 8 | Tagged , , , , , | 1 Comment

Global exception handling in Windows Store JavaScript applications

When an unhandled exception occurs in a Windows Store app, this application is terminated immediately, in a silent way and without showing any error message to the user. This is the default behavior, but we can change it, if we … Continue reading

Posted in JavaScript, Windows 8 | Tagged , , , , | 1 Comment

What does “use strict” do in JavaScript?

This is one of the questions I get frequently when delivering workshops on Windows 8 “Windows Store” application development using HTML, CSS and JavaScript.

Posted in JavaScript | Tagged , , , | Leave a comment

E-book: Metro Revealed – Building Windows 8 Apps with HTML5 and JavaScript

With the launch of Visual Studio 2012 Release Candidate, Microsoft is offering a free copy (PDF) of the book Metro Revealed – Building Windows 8 Apps with HTML5 and JavaScript written by Adam Freeman.

Posted in Windows 8 | Tagged , , , , , | Leave a comment

E-book: Programming Windows 8 Apps with HTML, CSS and JavaScript – First Preview

With the launch of Visual Studio 2012 Release Candidate Microsoft is offering a free copy (PDF) of the first four chapters of the book Programming Windows 8 Apps with HTML, CSS and JavaScript written by Kraig Brockschmidt for Microsoft Press.

Posted in Windows 8 | Tagged , , , , , , | Leave a comment