Skip to content

Latest commit

 

History

History
59 lines (50 loc) · 1.43 KB

File metadata and controls

59 lines (50 loc) · 1.43 KB
title Debugging Your Provider | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
debugging [C++], providers
OLE DB providers, debugging
Visual C++ debugger, debugging providers
Visual C++ debugger
ms.assetid 90d4e7db-06ea-4de0-a7f4-4f3751d50d93
caps.latest.revision 7
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
ru-ru
zh-cn
zh-tw
translation.priority.mt
cs-cz
pl-pl
pt-br
tr-tr

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