O'Reilly logo

Windows Application Development Cookbook by Marcin Jamro

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

Executing code while debugging

When the execution of the application is stopped, you can easily check the values of the variables by moving the cursor over them. However, sometimes it may be useful to execute some parts of code, such as checking the length of a string. In such a case, you do not need to modify the application code and add some additional variables because you can use the Immediate Window feature that allows you to execute particular lines of code and present results. In this recipe, you will learn how to do this.

Getting ready

To complete this recipe, you need the project with two pages, represented by the MainPage and ProductsPage classes. It is necessary to pass a category identifier while navigating from MainPage to ProductsPage ...

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