To debug using Visual Studio

To start debugging using the Visual Studio debugger:

  1. Set breakpoints in your code as desired.
  2. Right-click to select your project in Solution Explorer, then choose Debug > Start new instance or Debug > Step Into new instance.