Ben Schoepke
Ben Schoepke

Reputation: 789

Remote debugging in Windows Embedded

I'm moving from Windows CE 6 to Windows Embedded Standard 7 for a project and am wondering how remote debugging of .Net apps works with Windows Embedded target devices. In CE with VS2008 and ActiveSync (USB), I can hit F5 and my app is automatically deployed to the target device and executed so I can step through my breakpoints just like I would if I were debugging locally.

Is there an equivalent remote debugging solution for Windows Embedded debugging? A quick glance through the Visual Studio "Remote Debugger" documentation makes the whole thing seem a lot clunkier/less integrated. Is there an easy way to debug applications on target devices running Windows Embedded like I would with CE?

Thanks, Ben

Upvotes: 4

Views: 1801

Answers (1)

stijn
stijn

Reputation: 35901

I only have experience doing this over standard network interfaces on a Embedded Std7, but I guess the approach using an ActiveSync connection is exactly the same (as ActiveSync devices like my cellphone turn up under 'My Computer'); in short:

  • suppose the Embedded device is on \\Embedded
  • share a directory on the Embedded device, say 'temp'
  • start the remote debugger client on your device
  • point the output directory of your VS project to \\Embedded\temp
  • set the options for your project to remote debugging on \\Embedded
  • hitting F5 will build the exe, put it in \\Embedded\temp and start debugging it

Look here for the document that got me started.

Upvotes: 1

Related Questions