O'Reilly logo

Microsoft Visual Studio 2015 Unleashed, Third Edition by Mike Snell, Lars Powers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Debugging Windows Store Apps

Windows Store apps can be difficult to debug because they are often started, suspended, and resumed based on user actions. These actions are controlled by the Windows Process Lifetime Management (PLM) environment. When in debug mode, however, these activation events (start, suspend, resume, terminate) are disabled. Fortunately, you can still trigger these events using the debugger.

Note

See Chapter 23, “Developing Windows Store Applications,” for additional details on creating and debugging Windows Store apps.

You debug a PLM event by first setting a breakpoint in the event handler for the event you want to debug. You then start to debug the application. From there you can use the Debug Location toolbar to fire ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required