Remote Debugging to your Surface Machine

So since the Microsoft Surface is out today, I thought I would do a post to show people how to do remote debugging to test it on their ARM device.  I know for me, it has been quite a while since I had the need to do any remote debugging but since your Windows Store apps will run on ARM devices, you will want the ability to do this.

The first thing you want to do is go to the desktop of your SURFACE Device.

image

Yes, there is a desktop, it will just allow you to do a limited amount of things ( including installing these debugging tools)

Open up internet explorer and go to the Visual Studio Download section.

http://www.microsoft.com/visualstudio/eng/downloads

Go to the section for Remote Tools for Visual Studio 2012

image

Download the Remote Tools for Visual Studio 2012 For ARM (last one)

image

The the prompt asks you, select the Run button.

image

Follow the prompts to install the Remote tools for Visual Studio

image

When complete you will have an icon for Remote Debugger on your start screen

image

Click this to start the remote debugger.

The first time it starts it will ask you to configure the Remote Debugger

image

Just click on the configure button.  ( note, If it asks you to, install the Web Services API,,,, mine did not)

The Remote Debugging Monitor will then appear.

image

NOTE:  Both machines must be on the same network for this to work.

Now go to your Visual Studio Project and select Remote Machine from the dropdown

image

In the Remote Debugger Connections Window Select your device.

image

Run your project….

NOTE: The first time you run your project to the remote machine, it will ask you to download a developer license for the machine.  Follow the prompts to do this.

The next time you run your project, it will run on your Surface machine.  And if you pop over to the desktop on your surface machine, you will see it connected in the monitor.

 

image

Happy Programming

Daniel Egan – The Sociable Geek



Sorry, comments are closed for this post.