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

# OnOutputDebugString

> IXtfDebugMonitorCallback::OnOutputDebugString 메서드

# IXtfDebugMonitorCallback::OnOutputDebugString 메서드

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

## 구문

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

### 매개 변수

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

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

### 반환 값

형식: HRESULT

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

## 설명

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

## 요구 사항

**헤더:** xtfdebugmonitor.h

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

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

## 함께 보기

[IXtfDebugMonitorCallback 인터페이스](https://docs.xbox.com/ko/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-t.md)\
[XtfDebugMonitor](https://docs.xbox.com/ko/reference/tools/xtf/xtfdebugmonitor/xtfdebugmonitor-xbox-microsoft-n.md)\
[IXtfDebugMonitorCallback](https://docs.xbox.com/ko/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-t.md)


## Related topics

- [XTF_OUTPUT_DEBUG_STRING_DATA 구조체](https://docs.xbox.com/ko/reference/tools/xtf/xtfdebugmonitor/structures/XTF_OUTPUT_DEBUG_STRING_DATA-xtfdebugmonitor-xbox-microsoft-t.md)
- [IXtfDebugMonitorCallback 인터페이스 (인터페이스 콘텐츠)](https://docs.xbox.com/ko/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorCallback/ixtfdebugmonitorcallback-xtfdebugmonitor-xbox-microsoft-t.md)
- [XtfDebugStringCallback](https://docs.xbox.com/ko/reference/tools/xtf/xtfapi/functions/xtfdebugstringcallback-xtfapi-xbox-windows-m.md)
- [XtfCaptureOutputBegin](https://docs.xbox.com/ko/reference/tools/xtf/xtfapi/functions/xtfcaptureoutputbegin-xtfapi-xbox-windows-m.md)
- [XtfDebugStringErrorCallback](https://docs.xbox.com/ko/reference/tools/xtf/xtfapi/functions/xtfdebugstringerrorcallback-xtfapi-xbox-windows-m.md)
