Skip to main content

IXtfDebugMonitorCallback::OnOutputDebugString Method

Called when an XBOX Tools Framework (XTF) app sends debug output.

Syntax

Parameters

pData
Type: XTF_OUTPUT_DEBUG_STRING_DATA *
Pointer that receives an XTF_OUTPUT_DEBUG_STRING_DATA structure that contains the debug string data.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

This title-defined function handles the debug strings produced by games on the dev console. This function determines what happens to each debug string detected after IXtfDebugMonitorClient::Start is called. The title defined method must match the return value and parameters of the IXtfDebugMonitorCallback::OnOutputDebugString method.

Requirements

Header: xtfdebugmonitor.h Library: xtfdebugmonitor.lib Supported platforms: Windows (for XBOX console tools)

See also

IXtfDebugMonitorCallback Interface
XtfDebugMonitor
IXtfDebugMonitorCallback
Last modified on August 20, 2026