Udostępnij za pośrednictwem


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

  1. With a project selected in Solution Explorer, on the Project menu, click Properties.

  2. Click the Debug tab.

  3. Select the Enable unmanaged code debugging check box.

To disable debugging of unmanaged code

  1. With a project selected in Solution Explorer, on the Project menu, click Properties.

  2. Click the Debug tab.

  3. Click to clear the Enable unmanaged code debugging check box.

See Also

Tasks

Remote Debugging of a Project Built Locally

Other Resources

Debugging Native Code

Managing Debugging Properties