Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you debug from Visual Studio 2012 directly to Microsoft Surface (or any Windows 8 RT tablet)?

I have not been able to find any documentation on if you can run applications in debug from a Windows 8 RT based tablet (such as the new Microsoft Surface) like you can on the iPad or Android devices.

Does anyone know if this is possible, and if so (or not), is there any documentation anywhere pointing to such?

like image 567
mynameiscoffey Avatar asked Oct 16 '12 20:10

mynameiscoffey


People also ask

How do I debug my surface?

After you have enabled developer mode, you can find the Surface Hub's IP address on the welcome screen. Select Start Debugging (F5) to deploy and debug your app on the Surface Hub, or press Ctrl+F5 to just deploy your app. If the Surface Hub is displaying the welcome screen, dismiss it by choosing any button.

Can I debug in Visual Studio code?

VS Code has built-in debugging support for the Node.js runtime and can debug JavaScript, TypeScript, or any other language that gets transpiled to JavaScript.

What is remote debugging in Visual Studio?

To debug a Visual Studio application that has been deployed on a different computer, install and run the remote tools on the computer where you deployed your app, configure your project to connect to the remote computer from Visual Studio, and then run your app.


2 Answers

Yes, Visual Studio remote debugging supports debugging an app running on an ARM target. You can find more information "What you need to know about developing for Windows on ARM (WOA)."

like image 189
James McNellis Avatar answered Sep 30 '22 03:09

James McNellis


Visual Studio has the remote debugging tools for working with external devices and other computers. In a Windows Store application project you go to the project properties and click the debug tab. Choose the target device in the dropdown Debug settings (click to see screenshot)

You'll need the setup remote debug service on your tablet and on your dev computer. The devices need to be on the same network subnet. I'm not sure how that will work on the Surface ARM device, as they cannot join a domain. I guess we'll know more once the hardware ships.

Get your remote debugging tools at Visual Studio Downloads.

Jason Zander has a post about working with ARM devices that might be helpful.

like image 27
Walt Ritscher Avatar answered Sep 30 '22 05:09

Walt Ritscher