The Windows Forms App project template creates a Windows Forms application. Debugging this type of application in Visual Studio is straightforward. For information on creating a project of this type, see Create a Windows Form App.
When you create a Windows Forms project with the project template, Visual Studio automatically creates required settings for the Debug and Release configurations. If necessary, you can change these settings. These settings can be changed in the Property Pages dialog box (My Project in Visual Basic).
The following table displays one additional recommended property setting.
Property Name | Setting |
---|---|
Start Action | - Set to Start project, most of the time. Set to Start external program if you want to start another executable when you start debugging (usually for debugging DLLs). |
You can debug Windows Forms applications from inside Visual Studio, or by attaching to an already running application. For more information about attaching, see Attach to Running Processes.