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

## 另请参阅

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


## Related topics

- [IXtfDebugMonitorCallback 接口（接口内容）](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-t.md)
- [IXtfApplicationClient 接口（接口内容）](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfapplication/classes/IXtfApplicationClient/ixtfapplicationclient-xtfapplication-xbox-microsoft-t.md)
- [IXtfInputClient 接口（接口内容）](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfinput/classes/IXtfInputClient/ixtfinputclient-xtfinput-xbox-windows-t.md)
- [IXtfUserClient 接口（接口内容）](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfuser/classes/IXtfUserClient/ixtfuserclient-xtfuser-xbox-windows-t.md)
- [IXtfFileIOClient 接口（接口内容）](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/ixtffileioclient-xtffileio-xbox-microsoft-t.md)
