To Debug Projects

  1. In Visual Studio, select Debug Attach to Process (or press Ctrl+Alt+P) to open the Attach to Process dialog box.
  2. Select the code types. Choose both if you want to do the mixed debugging.

    • Managed(.NET Core, .NET 5+) for .NET Core codes debugging
    • Native - C/C++ for native code debugging

To facilitate your debugging

  1. Switch your configuration to Debug.

  2. Add necessary calls in your class so that you can understand the state of your program.
    Debug.WriteLine("Just a test");