| title | Debugging Your Provider | Microsoft Docs | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||
| ms.date | 11/04/2016 | |||||||||
| ms.reviewer | ||||||||||
| ms.suite | ||||||||||
| ms.technology |
|
|||||||||
| ms.tgt_pltfrm | ||||||||||
| ms.topic | article | |||||||||
| dev_langs |
|
|||||||||
| helpviewer_keywords |
|
|||||||||
| ms.assetid | 90d4e7db-06ea-4de0-a7f4-4f3751d50d93 | |||||||||
| caps.latest.revision | 7 | |||||||||
| author | mikeblome | |||||||||
| ms.author | mblome | |||||||||
| manager | ghogen | |||||||||
| translation.priority.ht |
|
|||||||||
| translation.priority.mt |
|
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++.
-
Open the provider project.
-
On the Projects menu, click Settings.
-
In the Property Pages dialog box, click the Debug tab.
-
In the Executable for Debug Session box, select the ITEST application.
-
Set breakpoints, and then debug as usual.