> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Méthode IXtfDebugMonitorClient::Start

> Méthode IXtfDebugMonitorClient::Start

# Méthode IXtfDebugMonitorClient::Start

Commence l'écoute de la sortie de débogage de la console de développement.

<a id="syntaxSection" />

## Syntaxe

```cpp theme={null}
public:
HRESULT Start(
         DWORD dwProcessId,
         XTF_DBGMON_START_FLAGS dwFlags,
         IXtfDebugMonitorCallback *pCallback
)  
```

<a id="ID4EH" />

### Paramètres

*dwProcessId*\
Type : DWORD

Identificateur du processus.

*dwFlags*\
Type : XTF\_DBGMON\_START\_FLAGS

Indicateurs qui spécifient comment effectuer l'opération.\
Cette fonctionnalité n'est pas entièrement développée; ce paramètre doit donc prendre la valeur 0.

*pCallback*\
Type : IXtfDebugMonitorCallback \*

Pointeur vers le [IXtfDebugMonitorCallback](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-t) à appeler lorsque le client reçoit une sortie de débogage de la console de développement.

<a id="ID4EQ" />

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

<a id="requirements" />

## Configuration requise

**En-tête :** xtfdebugmonitor.h

**Bibliothèque :** xtfdebugmonitor.lib

**Plateformes prises en charge :** Windows (pour les outils de console XBOX)

<a id="ID4ENB" />

## Remarques

Cette fonction permet de commencer l'écoute de la sortie de débogage d'un jeu sur une console de développement. Lorsque vous avez terminé l'écoute de la sortie de débogage, appelez [IXtfDebugMonitorClient::Stop](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m) pour arrêter l'écoute. Si vous n'appelez pas [IXtfDebugMonitorClient::Stop](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m), cela peut entraîner une fuite de ressources et laisser un débogueur orphelin attaché au jeu, ce qui peut nécessiter un redémarrage du jeu pour corriger le problème.

## Voir aussi

<a id="ID4EPB" />

[Interface IXtfDebugMonitorClient](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-t)\
[XtfDebugMonitor](/fr-CA/reference/tools/xtf/xtfdebugmonitor/xtfdebugmonitor-xbox-microsoft-n)\
[IXtfDebugMonitorClient::Stop](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m)


## Related topics

- [Méthode IXtfDebugMonitorClient::Stop](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
- [Méthode IXtfDebugMonitorCallback::OnOutputDebugString](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m.md)
- [XtfCreateDebugMonitorClient](/fr-CA/reference/tools/xtf/xtfdebugmonitor/methods/xtfcreatedebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
- [XtfCaptureOutputBegin](/fr-CA/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m.md)
- [XtfCaptureOutputEnd](/fr-CA/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputend-xtfapi-xbox-windows-m.md)
