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

# IXtfDebugMonitorClient 接口（接口内容）

> IXtfDebugMonitorClient Interface

# IXtfDebugMonitorClient Interface

从 XBOX Tools Framework (XTF) 应用接收调试输出。

## 语法

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

## 方法

| 方法 | 说明 |
| - | - |
| [Start](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md) | 开始侦听来自开发主机的调试输出。 |
| [Stop](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md) | 停止侦听来自开发主机的调试输出。 |

## 要求

**头文件：** xtfdebugmonitor.h

**库：** xtfdebugmonitor.lib

**支持的平台：** Windows（适用于 XBOX 主机工具）

## 备注

此接口通过调用 [XtfCreateDebugMonitorClient](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfdebugmonitor/methods/xtfcreatedebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md) 创建。此接口允许你监视开发主机上游戏输出的调试消息。要开始侦听调试消息，请调用 [IXtfDebugMonitorClient::Start](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)。完成从主机侦听调试消息后，请调用 [IXtfDebugMonitorClient::Stop](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)。IXtfDebugMonitorClient Interface 监视来自特定进程的调试输出。如果你想从开发主机读取更常规的调试输出，需要调用 [XtfCaptureOutputBegin](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m.md)。

## 另请参阅

[XtfDebugMonitor](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfdebugmonitor/xtfdebugmonitor-xbox-microsoft-n)\
[XtfCreateDebugMonitorClient](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfdebugmonitor/methods/xtfcreatedebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
[IXtfDebugMonitorClient::Start](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)\
[IXtfDebugMonitorClient::Stop](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)\
[XtfCaptureOutputBegin](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m.md)


## Related topics

- [IXtfRemoteRunClient 接口（接口内容）](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunClient/interfaces/ixtfremoterunclient.md)
- [IXtfConsoleControlClient（接口内容）](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/ixtfconsolecontrolclient.md)
- [IXtfRemoteRunCallback 接口（接口内容）](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfremoterun/classes/IXtfRemoteRunCallback/interfaces/ixtfremoteruncallback.md)
- [IXtfConfigSettingsCallback（接口内容）](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConfigSettingsCallback/ixtfconfigsettingscallback.md)
- [IXtfRunningProcessCallback（接口内容）](https://devdocs.xbox.com/zh-CN/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfRunningProcessCallback/ixtfrunningprocesscallback.md)
