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

# DSTORAGE_DEBUG

> DSTORAGE_DEBUG

# DSTORAGE\_DEBUG

DirectStorage デバッグ レイヤーを制御するフラグ。

## 構文

```cpp theme={null}
enum DSTORAGE_DEBUG    
{  
    DSTORAGE_DEBUG_NONE = 0x00,  
    DSTORAGE_DEBUG_SHOW_ERRORS = 0x01,  
    DSTORAGE_DEBUG_BREAK_ON_ERROR = 0x02,  
    DSTORAGE_DEBUG_RECORD_OBJECT_NAMES  = 0x04
}  
```

## 定数

| 定数                                     | 説明                                                          |
| -------------------------------------- | ----------------------------------------------------------- |
| DSTORAGE\_DEBUG\_NONE                  | DirectStorage デバッグ レイヤーは無効です。                               |
| DSTORAGE\_DEBUG\_SHOW\_ERRORS          | デバッガーにエラー情報を出力します。                                          |
| DSTORAGE\_DEBUG\_BREAK\_ON\_ERROR      | エラーが検出されるたびにデバッグ ブレークをトリガーします。                              |
| DSTORAGE\_DEBUG\_RECORD\_OBJECT\_NAMES | ETW イベントに `IDStorageStatusArrayX` と `ID3D12Fence` の名前を含めます。 |

## 解説

この列挙型は、[IDStorageFactoryX::SetDebugFlags](/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_setdebugflags) メソッドによって使用されます。フラグは、要求がキューに入れられたときに DirectStorage が追加の検証を実行するかどうかを制御します。検証は、デバッグを支援することを目的としています。

## 要件

**ヘッダー:** dstorage\_xs.h

**サポートされているプラットフォーム:** XBOX Series 本体

## 関連項目

[IDStorageFactoryX::SetDebugFlags](/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_setdebugflags)\
[DStorage](/reference/system/dstorage/dstorage_members)


## Related topics

- [DStorage](/ja-jp/reference/system/dstorage/dstorage_members.md)
- [IDStorageFactoryX::SetDebugFlags](/ja-jp/reference/system/dstorage/interfaces/IDStorageFactoryX/methods/idstoragefactoryx_setdebugflags.md)
- [DSTORAGE_QUEUE_OPTIONS](/ja-jp/reference/system/dstorage/structs/dstorage_queue_options.md)
- [DSTORAGE_PRIORITY](/ja-jp/reference/system/dstorage/enums/dstorage_priority.md)
- [DSTORAGE_REQUEST](/ja-jp/reference/system/dstorage/structs/dstorage_request.md)
