Archive for the ‘ Debugging ’ Category

Windows Phone Mango – Multiple Emulators


I just realized that I need to have two emulators running at the same times since I’m developing a socket demo where two phones are talking to each other. Fortunately there is a way to have two emulators running while debugging at the same time. So if you are developing any multi-client application and need two instances of the emulator, this post will guide you on how to do that.

  1. Open the Windows Explorer and browse to C:\ProgramData\Microsoft\Phone Tools\CoreCon\10.0\addons
  2. Create a copy of the file “ImageConfig.en-US.xsl”, you can name it as you want, I just did a copy/paste and ended up with “ImageConfig.en-US – Copy.xsl”
  3. Find and edit the following in the new copy:
    • In the <DEVICE> element, change the Name attribute to “Windows Phone Emulator Instance 2”
    • Also change the ID attribute to a new GUID in the same element. You can create a new GUID here or just make one up
    • In the <PROPERTY ID=”VMID” Protected=”false”> element, change the value to the same GUID as you specified above and make sure you preserve the braces {}

That’s it, now restart Visual Studio if you have it running and you will now have two Emulators to use!

Happy Coding!

Advertisements

WCF Debugging

jscreationzs / FreeDigitalPhotos.net

I must say that setting up WCF and making it running with the simplest “Hello WCF” functionality is pretty simple. But when your architecture gets more complicated, the object graph gets more complicated, it quickly becomes a nightmare to find bugs without knowing about what tools there are to help you.

Continue reading

%d bloggers like this: