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

# Event tracing (wdtrace.exe)

> Event tracing (wdtrace.exe)

Use this tool to start, stop, and collect event trace logs on the console.

| Command | Description |
| - | - |
| [start](#wdtrace_start) | Starts an event-tracing session on the remote console |
| [stop]() | Stops a trace |
| [log](#wdtrace_log) | Collects a log |

## wdtrace start

Starts an event-tracing session on the remote console.

`wdTrace start <tracetype> `

| Option | Description |
| - | - |
| `tracetype` | The type of tracing session. Allowed values: advancedmp - Advanced multiplayer capture. netcap - Network packet capture. |

## wdtrace stop

Stops an event-tracing session on the remote console and writes the trace files to etlfile/directory.

`wdTrace stop [etlfile/directory]`

| Option | Description |
| - | - |
| `etlfile/directory` | The file or directory to write the trace files to. |

## wdtrace log

Collects a log during an event-tracing session on the remote console.

`wdTrace log <logtype>`

| Option | Description |
| - | - |
| `logtype` | The log type to collect. Allowed value: netstate - Network state. |

## See also

[Console Command-line tools](https://docs.xbox.com/tools/tools-console/console_commandlinetools/consolecommandlinetools.md)

[XTF transport errors](https://docs.xbox.com/tools/tools-console/commandlinetools/xtf-transport-errors.md)


## Related topics

- [Console-based command-line tools](https://docs.xbox.com/tools/tools-console/console_commandlinetools/consolecommandlinetools.md)
- [Console-based command-line tools for XBOX](https://docs.xbox.com/tools/tools-console/console_commandlinetools/index.md)
- [Calling wd tools from your title](https://docs.xbox.com/tools/tools-console/console_commandlinetools/titlecodecallingwdtools.md)
- [Trace (xbtrace.exe)](https://docs.xbox.com/tools/tools-console/commandlinetools/xbtrace.md)
- [Debug Tracing](https://docs.xbox.com/services/playfab/sdks/c/tracing.md)
