Not exactly news this one, as apparently it’s been around since 15/10 but I had call to do some http traffic inspection on the emulator on a couple of occasions recently. Normally I’d turn to my old friend Fiddler but I’d read somewhere that it couldn’t capture the emulator traffic. That was until Fiddler version 18.104.22.168 was released – it’s now possible to monitor the emulator traffic with Fiddler.
There’s some voodoo involved – at least it seemed like voodoo to me – but lo and behold it worked first time.
For full details see Eric’s post Fiddler and the Windows Phone 7 Emulator. For ease, I’ve reproduced the steps to get up and running from Eric’s post below:
- Install Fiddler 22.214.171.124.
- Start Fiddler.
- Click Tools > Fiddler Options.
- Open the Connections tab and tick the Allow remote computers to connect box
- Click OK to close the Fiddler Options dialog.
- 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.
- Close and restart Fiddler.
- Start (or restart) the Windows Phone 7 Emulator.
- Open Internet Explorer on the Emulator.
- Observe, your traffic shows in Fiddler.