다음을 통해 공유


Debugging Your Provider

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Debugging Your Provider.

There are two ways to debug your provider:

  • Because providers are created in process, you can create some consumer code using the OLE DB consumer templates and step into the provider normally.

  • You can use the ITEST utility that comes with Visual C++.

To use the ITEST utility

  1. Open the provider project.

  2. On the Projects menu, click Settings.

  3. In the Property Pages dialog box, click the Debug tab.

  4. In the Executable for Debug Session box, select the ITEST application.

  5. Set breakpoints, and then debug as usual.

See Also

Working with OLE DB Provider Templates