Sometimes, it is inconvenient to place many breakpoints in the code to see how the application, or its particular module, is being executed. In such a case, it is a good idea to log various information and present it to the developer in the IDE in real time.
In this recipe, you will learn how to perform such a task using the
Debug class from the
System.Diagnostics namespace as well as present logs in the IDE within the Output window.
To complete this recipe, you need the project with two pages, represented by the
ProductsPage classes. It is necessary to pass a category identifier while navigating from
To prepare an example that shows how to log ...