> ## 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 介面

# IXtfDebugMonitorClient 介面

接收來自 XBOX Tools Framework (XTF) 應用程式的偵錯輸出。

<a id="syntaxSection" />

## 語法

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

## 方法

| 方法 | 描述 |
| - | - |
| [Start](/zh-TW/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m) | 開始接聽來自開發主機的偵錯輸出。 |
| [Stop](/zh-TW/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m) | 停止接聽來自開發主機的偵錯輸出。 |

<a id="requirements" />

## 需求

**標頭：** xtfdebugmonitor.h

**程式庫：** xtfdebugmonitor.lib

**支援的平台：** Windows (適用於 XBOX 主機工具)

<a id="ID4E1" />

## 備註

此介面是透過呼叫 [XtfCreateDebugMonitorClient](/zh-TW/reference/tools/xtf/xtfdebugmonitor/methods/xtfcreatedebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m) 所建立。此介面可讓您監視開發主機上的遊戲所輸出的偵錯訊息。若要開始接聽偵錯訊息，請呼叫 [IXtfDebugMonitorClient::Start](/zh-TW/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m)。完成接聽來自主機的偵錯訊息後，請呼叫 [IXtfDebugMonitorClient::Stop](/zh-TW/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m)。IXtfDebugMonitorClient 介面會監視來自特定處理序的偵錯輸出。如果您想要讀取來自開發主機的更一般性偵錯輸出，則需要呼叫 [XtfCaptureOutputBegin](/zh-TW/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m)。

## 另請參閱

<a id="ID4E3" />

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


## Related topics

- [IXtfDebugMonitorClient::Start 方法](/zh-TW/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
- [IXtfDebugMonitorClient::Stop 方法](/zh-TW/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
- [XtfCreateDebugMonitorClient](/zh-TW/reference/tools/xtf/xtfdebugmonitor/methods/xtfcreatedebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
- [XtfCaptureOutputBegin](/zh-TW/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m.md)
- [XtfCaptureOutputEnd](/zh-TW/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputend-xtfapi-xbox-windows-m.md)
