To debug using Visual Studio

To start debugging using the Visual Studio debugger:

  1. Ensure Visual Studio is the debugger of choice specified on the Debug tab in your project's properties.
  2. Set breakpoints in your code as desired.
  3. Right-click to select your project in Solution Explorer, then choose Debug > Start new instance or Debug > Step Into new instance.