Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Fiddler and WP7 Emulator – Working!

DZone's Guide to

Fiddler and WP7 Emulator – Working!

Free Resource

Download this comprehensive Mobile Testing Reference Guide to help prioritize which mobile devices and OSs to test against, brought to you in partnership with Sauce Labs.

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 2.3.0.7.
  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 fiddler.network.proxy.registrationhostname 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.

Analysts agree that a mix of emulators/simulators and real devices are necessary to optimize your mobile app testing - learn more in this white paper, brought to you in partnership with Sauce Labs.

Topics:

Published at DZone with permission of rouletteroulette rouletteroulette. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}