How to: Enable Debugging of Unmanaged Code
Note
The Visual Studio Express Editions, such as Visual C# Express, do not support debugging of unmanaged code. This is supported only in the full Visual Studio product.
The Unmanaged code debugging property, available on the Debug page of the Project Designer, determines whether debugging of native code is supported. Select this option if you are making calls to COM objects, or if you start a custom program written in native code that calls your project and you need to debug the native code.
To enable debugging of unmanaged code
With a project selected in Solution Explorer, on the Project menu, click Properties.
Click the Debug tab.
Select the Enable unmanaged code debugging check box.
To disable debugging of unmanaged code
With a project selected in Solution Explorer, on the Project menu, click Properties.
Click the Debug tab.
Click to clear the Enable unmanaged code debugging check box.
See Also
Tasks
Remote Debugging of a Project Built Locally