> ## 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::OnOutputDebugString 메서드

> IXtfDebugMonitorCallback::OnOutputDebugString 메서드

# IXtfDebugMonitorCallback::OnOutputDebugString 메서드

XBOX Tools Framework(XTF) 앱이 디버그 출력을 보낼 때 호출됩니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
public:
HRESULT OnOutputDebugString(
         const XTF_OUTPUT_DEBUG_STRING_DATA *pData
)  
```

<a id="ID4EH" />

### 매개 변수

*pData*\
형식: XTF\_OUTPUT\_DEBUG\_STRING\_DATA \*

디버그 문자열 데이터를 포함하는 [XTF\_OUTPUT\_DEBUG\_STRING\_DATA](/reference/tools/xtf/xtfdebugmonitor/structures/XTF_OUTPUT_DEBUG_STRING_DATA-xtfdebugmonitor-xbox-microsoft-t) 구조체를 받는 포인터입니다.

<a id="ID4EQ" />

### 반환 값

형식: HRESULT

HRESULT 성공 또는 오류 코드입니다.

<a id="requirements" />

## 설명

이 타이틀 정의 함수는 개발 콘솔의 게임에서 생성된 디버그 문자열을 처리합니다. 이 함수는 [IXtfDebugMonitorClient::Start](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m)가 호출된 후 감지된 각 디버그 문자열에 대해 수행되는 작업을 결정합니다. 타이틀에서 정의한 메서드는 **IXtfDebugMonitorCallback::OnOutputDebugString** 메서드의 반환 값 및 매개 변수와 일치해야 합니다.

## 요구 사항

**헤더:** xtfdebugmonitor.h

**라이브러리:** xtfdebugmonitor.lib

**지원 플랫폼:** Windows(XBOX 콘솔 도구용)

<a id="ID4EHB" />

## 함께 보기

<a id="ID4EJB" />

[IXtfDebugMonitorCallback 인터페이스](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-t)\
[XtfDebugMonitor](/reference/tools/xtf/xtfdebugmonitor/xtfdebugmonitor-xbox-microsoft-n)\
[IXtfDebugMonitorCallback](/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-t)


## Related topics

- [IXtfDebugMonitorClient::Start 메서드](/ko/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
- [IXtfDebugMonitorClient::Stop 메서드](/ko/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/stop-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
- [XTF_OUTPUT_DEBUG_STRING_DATA 구조체](/ko/reference/tools/xtf/xtfdebugmonitor/structures/XTF_OUTPUT_DEBUG_STRING_DATA-xtfdebugmonitor-xbox-microsoft-t.md)
- [XtfDebugStringCallback](/ko/reference/tools/xtf/xtfapi/functions/xtfdebugstringcallback-xtfapi-xbox-windows-m.md)
- [XtfCreateDebugMonitorClient](/ko/reference/tools/xtf/xtfdebugmonitor/methods/xtfcreatedebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
