How Do I Debug My Provider?
How Do I Debug My 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
- 
Open the provider project.
 
 
- 
From the Projects menu, click Settings.
 
 
- 
In the Project Settings dialog box, select the Debug tab.
 
 
- 
In the Executable for Debug Session box, select the ITEST application.
 
 
- 
Set breakpoints and debug as usual.