Fiddler and WP7 Emulator – Working!

From the Beta SDK onwards, it seemed that there was no easy way of getting Fiddler to work with the emulator. For those unfamiliar with Fiddler, in short, it’s a must-have tool if you’re dealing with web requests for your applications. It lets you monitor the HTTP traffic between your  computer and the web, which is very useful when it comes to debugging web traffic problems in your apps.

Eric Law has uploaded a post explaining the steps to follow in order to get Fiddler working with the RTM emulator. You can read the instructions below, or see the full post here.

  1. Install Fiddler (latest at time of writing)
  2. Start Fiddler.
  3. Click Tools > Fiddler Options.
  4. Open the Connections tab and tick the Allow remote computers to connect box
  5. Click OK to close the Fiddler Options dialog.
  6. In the QuickExec box under the session list, type prefs set HostName where HostName is the name of your desktop computer.
  7. Close and restart Fiddler.
  8. Start (or restart) the Windows Phone 7 Emulator.
  9. Open Internet Explorer on the Emulator.
  10. Observe, your traffic shows in Fiddler.

Thanks to Eric for this as it’s been something quite a few developers have asked for.



12 Responses to Fiddler and WP7 Emulator – Working!

  1. Pingback: HOWTO: Track sales and downloads with XNA and Windows Phone 7 using Dotfuscator and Runtime Intellience « Ben Kane

  2. Pingback: Getting Authentication Working with WCF and WP7 – The only person at Microsoft allowed to login as 'guest'

  3. Pingback: A few WP7 development gotchas « Techkn0w

  4. Pingback: Capture Windows Phone 7 Emulator Traffic with Fiddler | Alex Sorokoletov

  5. jmutchek says:

    Thank you! My WP7 project was starting to feel hit or miss without the insight that Fiddler provides… thanks for the post.

  6. Yacine says:

    Hey, thanks for the post, however, after following these steps I still can’t see traffic from my app in Fiddler, only traffic from the emulator’s IE… Any suggestions ?

    • Yacine says:

      Update : I can actually see traffic between my app in the em and an external service, but not between the em and local IIS

  7. Pingback: Windows Phone 7 – and so it begins… | Entropy Specialists Blog

  8. Pingback: WP7 WebBrowser Control Woes | The Art of Development

  9. Pingback: Simulate a weak signal for Windows Phone 7.5 Environment « John Parr Jnr Publishing

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: