问题
I'm trying to debug a Windows Store app from within VS2012 on a Microsoft Surface RT tablet. Both the desktop development system and the Surface tablet are on the same subnet (191.168.1.x). I've installed the Remote Debugging Tools for ARM on the tablet, and can fire up the Remote Debugging Monitor on it.
When I try to Find the tablet from within the VS2012 project's Debug property page, nothing is found (i.e., the find process can't locate the tablet). From running ipconfig on the tablet I know that its IP address is 192.168.1.140. The desktop system's IP address is 192.168.1.2.
My desktop system is part of a domain, which I know introduces complications. I've made the user accounts on the two systems identical in terms of user names and passwords (the desktop user ID is mark, in the "example.com" domain, while the tablet's user ID is "mark@example.com").
I tried configuring the remote debugger on the tablet to ignore authentication (i.e., setting it to allow any user to debug, and not enforcing security). The problem still persists.
This feels like a "port not open", or "port blocked by firewall" issue. But I can't find any documentation on what ports VS2012 needs for remote debugging.
FWIW, I did notice one thing in the midst of flailing around: pinging the tablet from the desktop, or the desktop from the tablet, fails. As does tracert
. Yet both machines are connected to the internet through my Linux firewall/router, and the Linux system can ping both the desktop and the tablet.
来源:https://stackoverflow.com/questions/13339222/remote-debug-win8-surface-app-from-vs2012