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

# IXtfDebugMonitorCallback Interface

> IXtfDebugMonitorCallback Interface

# IXtfDebugMonitorCallback Interface

Provides a callback that is used when an XBOX Tools Framework (XTF) app sends debug output.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
interface IXtfDebugMonitorCallback : public IUnknown  
```

## Methods

| Method                                                                                                                                                                             | Description                                                       |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [OnOutputDebugString](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m) | Called when an XBOX Tools Framework (XTF) app sends debug output. |

<a id="requirements" />

## Remarks

The **IXtfDebugMonitorCallback Interface** dictates how debug output read from the console is handled. This behavior is established when an **IXtfDebugMonitorCallback** is passed to [IXtfDebugMonitorClient::Start](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m) as a parameter. The interface contains the method [IXtfDebugMonitorCallback::OnOutputDebugString](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m) which defines how debug output is handled when it is detected.

## Requirements

**Header:** xtfdebugmonitor.h

**Library:** xtfdebugmonitor.lib

**Supported platforms:** Windows (for XBOX console tools)

<a id="ID4E1" />

## See also

<a id="ID4E3" />

[XtfDebugMonitor](/reference/tools/xtf/xtfdebugmonitor/xtfdebugmonitor-xbox-microsoft-n)\
[IXtfDebugMonitorClient::Start](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m)\
[IXtfDebugMonitorCallback::OnOutputDebugString](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m)


## Related topics

- [IXtfDebugMonitorCallback::OnOutputDebugString Method](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m.md)
- [IXtfDebugMonitorCallback::OnOutputDebugString (método)](/es/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m.md)
- [IXtfDebugMonitorCallback::OnOutputDebugString 메서드](/ko/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/methods/onoutputdebugstring-ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-m.md)
- [XtfCreateDebugMonitorClient](/reference/tools/xtf/xtfdebugmonitor/methods/xtfcreatedebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
- [IXtfDebugMonitorClient::Start Method](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
