Skip to main content
This section will provide details and sample code for calling wd tools that live on the console in your title code. An example would be to call wdtrace.exe in title code to enable network tracing to debug multiplayer latency issues.

Sample title code for calling wd tools

This line of sample code details the helper method which starts the wdtrace process. Any wd tool can be substituted for wdtrace in this example. The second parameter is the arguments for launching that tool.
Another example of the CreateAndRunRedirectedStdoutProcess method can be found below for wdconfig.exe
This is a sample of helper code that creates the process and re-directs the output from Stdout to OutputDebugString. This would then enable output to show up in Visual Studio or XbWatson. This could be replaced with a file write to store the output in a file instead.

See also

Console Command-line tools XTF transport errors
Last modified on August 4, 2026