Share via


Debugging Windows Store apps

The Visual Studio debugger allows you to control the execution of a program and examine its state. You can use the debugger to find the cause of defects in your Windows Store app and to understand exactly how your app works. When you suspend (break) execution in the debugger, Visual Studio displays the source file that contains the executing code and highlights the executing statement. You can look at the values of variables, the call stack of executing functions, and other aspects of your program state. You can continue executing (step through) the program one statement at a time to see how the statements change the values of the program. In apps written with JavaScript, you can examine and manipulate the DOM of the page.

In this section

How to start a debugging session (JavaScript)

How to start a debugging session describes different options for configuring and starting a debugging session for a JavaScript app.

Quickstart: Debugger navigation (JavaScript)

Debugger navigation takes you through a simple app that demonstrates how to start and stop debugging, how navigate through code, and how to view the program state.

Quickstart: Debugging apps (JavaScript)

Debugging JavaScript apps shows you procedures and features that are specific to JavaScript debugging and that may be more familiar to programmers who have developed apps for Internet Explorer and other browsers.

How to start a debugging session (Visual C++, Visual C#, and Visual Basic)

How to start a debugging session (Visual C++, Visual C#, and Visual Basic) describes different options for configuring and starting a debugging session for an app that is written with Visual C++, Visual C#, or Visual Basic.

Quickstart: Debugger navigation (Xaml and C#)

Debugger navigation takes you through a simple app that demonstrates how to start and stop debugging, how navigate through code, and how to view and change the program state.

How to trigger suspend, resume, and background events in Windows Store apps

The debugger disables Windows Process Lifetime Management (PLM) events that suspend, resume, and terminate apps. You can trigger these events from the debugger toolbar.

Background tasks enable you to perform important operations even when you app has been suspended. The debugger enables you start and debug these background task.

See Also

Reference

Debugging in Visual Studio (in the MSDN Library)