Debugging Applications with Visual Studio 2017

Debugging is the core part of any application development. It is a process that helps you to quickly look at the current state of your program by walking through the code line by line. Developers generally start debugging the application while writing code. Some developers start debugging even before writing the first line of code to know the logic and functionalities. It's a rare case scenario when a developer completes writing code without debugging the application.

Visual Studio provides us details about the running program as much as possible. It also helps to change some values while the application is already running. Thus, debugging inside Visual Studio IDE is becoming more popular day by day.

In this chapter, we are going to cover the following topics:

  • Overview of Visual Studio debugger tools
  • Debugging C# source code using breakpoints
    • Organizing breakpoints in code
    • Debugger execution steps
    • Adding conditions to breakpoints
    • Adding actions to breakpoints
    • Adding labels to breakpoints
    • Managing breakpoints using the Breakpoints window
    • Exporting/importing breakpoints
  • Using the Data Tips while debugging
    • Pinning/unpinning Data Tips for better debugging
    • Inspecting Data Tips in various watch windows
    • Using visualizers to display complex Data Tips
    • Importing/exporting Data Tips
    • Using debugger to display debugging information
  • Using the Immediate Window while debugging your code
  • Using the Visual Studio Diagnostics Tools
  • Using the new Run to Click feature in Visual Studio 2017
  • Debugging an already running process
  • Debugging the XAML application UI
    • Overview of XAML debugging
    • Inspecting XAML properties on Live Visual Tree
    • Enabling UI debugging tools for XAML
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.140.198.43