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

# GetDebugInfo

> 擷取著色器階段的硬體特定偵錯資訊。

擷取著色器階段的硬體特定偵錯資訊。

## 語法

```cpp theme={null}
HRESULT GetDebugInfo(  
         IDxcBlob **ppResult  
)  
```

### 參數

\*\**ppResult*   \_COM\_Outptr\_\
類型：IDxcBlob

包含偵錯資訊的二進位 Blob。

### 傳回值

類型：HRESULT

如果方法成功，就會傳回 `S\_OK`。

## 備註

此方法僅供內部與工具使用。

## 需求

**標頭：** dxcapi\_x.h (XBOX One)、dxcapi\_xs.h (XBOX Series)\
**支援的平台：** XBOX One 系列主機與 XBOX Series 主機\
**程式庫：** dxcompiler\_x.lib (XBOX One)、dxcompiler\_xs.lib (XBOX Series)

## 另請參閱

[IDxcXboxHwShader](/zh-TW/reference/graphics/dxcapi_x/interfaces/idxcxboxhwshader/idxcxboxhwshader)


## Related topics

- [DSTORAGE_DEBUG](/zh-TW/reference/system/dstorage/enums/dstorage_debug.md)
- [D3D12GetDebugInterface](/zh-TW/reference/graphics/d3d12/functions/d3d12getdebuginterface_public.md)
- [Get Account Info](/api-reference/account-management/get-account-info.md)
- [LogStatement](/zh-TW/services/playfab/api-references/events/data-types/logstatement.md)
- [IDStorageFactoryX::SetDebugFlags](/zh-TW/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_setdebugflags.md)
