In the previous section, we learned about Breakpoints and how you can set these in the code to pause execution whenever your code hits one of them. We also learned how to use the Breakpoints Pad to view all Breakpoints that have been set in your project solution.
Aside from setting Breakpoints, you can also set Conditional Breakpoints that will pause execution based upon whether a condition has been met, which we will covering in this section.
To create a conditional Breakpoint in your project, follow the steps outlined here:
- Ensure that the MainPage.xaml.cs file is displayed in the code editor window.
- Next, right-click in the sidebar to bring up the pop-up menu and choose the New Breakpoint… ...