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 various utilities that come with Visual C++.

To use debugging

  1. Open the provider project.

  2. On the menu bar, select Projects > Properties.

  3. In the Property Pages dialog box, select the Configuration Properties > Debugging property page.

  4. Select options as required, then choose OK.

  5. Set breakpoints, and then debug as usual.

See also

Working with OLE DB Provider Templates