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

# D3D12XBOX_LIVE_DEBUGGING_GLOBAL_PARAMETERS

> D3D12XBOX_LIVE_DEBUGGING_GLOBAL_PARAMETERS (XBOX Series 主機) — 允許設定即時偵錯的類型，以及該偵錯類型專屬的參數。

允許設定即時偵錯的類型，以及對應於應啟用即時偵錯之條件的旗標。

即時偵錯目前僅限於著色器偵錯。我們計劃在不久的將來將其擴展到著色器以外，並提供即時命令緩衝區偵錯。

## 語法

```cpp theme={null}
struct D3D12XBOX_LIVE_DEBUGGING_GLOBAL_PARAMETERS {
  D3D12XBOX_LIVE_DEBUGGING_TYPE Type;
  D3D12XBOX_LIVE_DEBUGGING_SHADER_GLOBAL_FLAGS Flags;  
}
```

## 成員

*Type*   \_In\_\
類型：[D3D12XBOX\_LIVE\_DEBUGGING\_TYPE](/zh-TW/reference/graphics/d3d12_xs/enums/d3d12xbox_live_debugging_type)

所需的即時偵錯類型。目前支援著色器的即時偵錯。

*Flags*    \_In\_\
類型：[D3D12XBOX\_LIVE\_DEBUGGING\_SHADER\_GLOBAL\_FLAGS](/zh-TW/reference/graphics/d3d12_xs/enums/d3d12xbox_live_debugging_shader_global_flags)

用來即時偵錯著色器的旗標。目前提供對應於數值例外狀況和記憶體例外狀況的旗標。

## 備註

## 需求

**標頭：** d3d12\_xs.h\
**支援的平台**：XBOX Series 主機

## 另請參閱

[d3d12\_xs 成員](/zh-TW/reference/graphics/d3d12_xs/d3d12_xs_members)

[EnableLiveDebuggingX](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12Device11/methods/id3d12device11_enablelivedebuggingx)


## Related topics

- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [NDA 토픽 디렉터리 - Microsoft Learn 라이브 링크](/ko/nda/nda-topic-directory.md)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [Directorio de temas NDA: enlaces activos a Microsoft Learn](/es/nda/nda-topic-directory.md)
