Debugging Preparation: Windows Forms Applications (.NET)
The Windows Forms Application (.NET) template creates a Visual C++ Windows Forms application. For more information, see How to: Create a Windows Application Project.
Debugging this type of application in Visual Studio is similar to that in managed Windows Forms applications.
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 in the <project name> Property Pages dialog box. For more information, see Debug and Release Configurations.
For more information, see Changing Project Settings for a C or C++ Debug Configuration.
Another way to debug a Windows Forms application is to start the application outside of Visual Studio and attach to it. For more information, see Attaching to a Running Program or Multiple Programs.
For recommended project settings, see Debugging Preparation: Recommended Property Settings.
To debug a Visual C++ Windows Forms application
Open the project in Visual Studio.
On the Debug menu, click Start.
Debug using the techniques discussed in Using the Debugger.
See Also
Reference
Project Settings for a C++ Debug Configuration
Other Resources
Debugging Native Code
Debugging Preparation: Visual C++ Project Types