> ## 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.

# XtfDebugStringCallback

> XtfDebugStringCallback

# XtfDebugStringCallback

Rappel invoqué pour chaque chaîne de sortie de débogage capturée par [XtfCaptureOutputBegin](/fr-CA/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m).

<a id="syntaxSection" />

## Syntaxe

```cpp theme={null}
void *XtfDebugStringCallback(
         UINT32 processId,
         UINT32 threadId,
         UINT16 cpuGroup,
         UINT16 cpuIndex,
         UINT32 level,
         UINT32 componentId,
         UINT32 sequenceNumber,
         UINT64 interruptTime,
         UINT32 flags,
         PCWSTR sourceIdentifier,
         PCWSTR messageData,
         PVOID context
)  
```

<a id="parametersSection" />

### Paramètres

*processId*\
Type : UINT32

\[in] L'ID du processus pour cette chaîne de débogage.

*threadId*\
Type : UINT32

\[in] L'ID du thread du titre.

*cpuGroup*\
Type : UINT16

\[in] Le groupe de processeurs du titre.

*cpuIndex*\
Type : UINT16

\[in] L'index du processeur du titre.

*level*\
Type : UINT32

\[in] Réservé à un usage interne.

*componentId*\
Type : UINT32

\[in] Réservé à un usage interne.

*sequenceNumber*\
Type : UINT32

\[in] Le numéro de séquence de la chaîne de débogage. La valeur de ce paramètre vous permet de déterminer l'ordre de la sortie de débogage, dans les rares cas où les chaînes de débogage peuvent être retournées dans le mauvais ordre.

*interruptTime*\
Type : UINT64

\[in] Réservé à un usage interne.

*flags*\
Type : UINT32

\[in] Réservé à un usage interne.

*sourceIdentifier*\
Type : PCWSTR

\[in] La source de la chaîne de débogage. Ce paramètre a la valeur "Title" ou "System".

*messageData*\
Type : PCWSTR

\[in] La chaîne de sortie de débogage.

*context*\
Type : PVOID

\[in, optional] Un pointeur vers un objet de contexte, passé à [XtfCaptureOutputBegin](/fr-CA/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m).

<a id="retvalSection" />

### Valeur de retour

Aucune.

<a id="remarksSection" />

## Remarques

Ce rappel est invoqué par la fonction `XtfCaptureOutputBegin` pour chaque chaîne de sortie de débogage capturée pendant une session de capture. Utilisez cette fonction de rappel, conjointement avec une fonction de rappel [XtfDebugStringErrorCallback](/fr-CA/reference/tools/xtf/xtfapi/functions/xtfdebugstringerrorcallback-xtfapi-xbox-windows-m), pour capturer la sortie de débogage générale d'une console de développement. Si vous voulez surveiller la sortie de débogage d'un ID de processus précis sur une console de développement, utilisez un client de moniteur de débogage. Pour plus d'informations sur l'utilisation d'un client de moniteur de débogage, consultez [XtfCreateDebugMonitorClient](/fr-CA/reference/tools/xtf/xtfdebugmonitor/methods/xtfcreatedebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m).

<a id="requirementsSection" />

## Configuration requise

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

**Bibliothèque :** XtfApi.lib

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

## Voir aussi

[Erreurs de transport XTF (rubrique sous NDA)](/fr-CA/tools/tools-console/commandlinetools/xtf-transport-errors)\
[API Xtf supplémentaires](/fr-CA/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

- [XtfDebugStringErrorCallback](/fr-CA/reference/tools/xtf/xtfapi/functions/xtfdebugstringerrorcallback-xtfapi-xbox-windows-m.md)
- [XtfCaptureOutputBegin](/fr-CA/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m.md)
- [Méthode IXtfDebugMonitorCallback::OnOutputDebugString](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m.md)
- [Structure XTF_OUTPUT_DEBUG_STRING_DATA](/fr-CA/reference/tools/xtf/xtfdebugmonitor/structures/XTF_OUTPUT_DEBUG_STRING_DATA-xtfdebugmonitor-xbox-microsoft-t.md)
- [Méthode IXtfDebugMonitorClient::Start](/fr-CA/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
