Share via


Fiddler on Windows PC

Use this topic to understand how to use Fiddler with the Microsoft Game Development Kit (GDK) on Windows PC. Fiddler is a web-debugging proxy that logs all HTTP and HTTPS traffic between a Windows PC and the internet. To understand and debug web service calls, use Fiddler to log and inspect traffic. Fiddler is available in several versions. Fiddler Classic is freeware. To download it, see the Fiddler website. The following section refers to only to Fiddler Classic.

Configuring Fiddler for use with the Microsoft Game Development Kit (GDK) on Windows PC

Configure Fiddler for use with the Microsoft Game Development Kit (GDK) on Windows PC by using its standard configuration process. For more information about this process, see the Fiddler documentation.

To capture all Xbox services and title traffic correctly, also ensure the following:

  • Fiddler should be run in Administrative mode.

  • Enable traffic capture for Xbox Game Bar, Xbox Console Companion, Xbox Game UI, and Xbox title-callable UI (TCUI).

    This can be done from the Tools > Win8 Loopback Exemptions menu and selecting the following package names from the list and then saving any changes:

    • Xbox Game Bar Plugin
    • Xbox Console Companion
    • Xbox Game UI
    • Xbox TCUI
  • Enable traffic capture from a title-executable container of a game.

    This can be done from the Tools > Win8 Loopback Exemptions menu and selecting the game package name from the list where the Description field matches the title package name.

Sign-in and in-game events are not captured by this Fiddler setup and typically not needed for traffic analysis. To also capture this type of traffic, the following, additional steps are required:

  • Open an Administrator-level command prompt.
  • Run netsh winhttp set proxy 127.0.0.1:8888 "<-loopback>", where the port number (8888) matches the port configured under the Fiddler Tools > Options > Connections tab.

The following steps can be used to disable the capture of this traffic:

  • Open an Administrator-level command prompt.
  • Run netsh winhttp reset proxy.

Limitations of traffic captures on Windows PC

The Windows PC configuration can prevent Fiddler from capturing traffic. The most common issues for game developers are:

  • Traffic from a title-executable container of a game can only be captured if the implementation respects the Windows networking and proxy configuration. Traffic that does not respect proxy configuration cannot be captured.
  • VPN clients can disable proxy configuration and prevent traffic capture through Fiddler. Reviewing VPN routing and exempting title and Xbox traffic in the VPN configuration can address this.

For additional troubleshooting, see the Fiddler website.

See also

Fiddler website