简体   繁体   English

Windows Embedded中的远程调试

[英]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. 我正在从一个项目的Windows CE 6转向Windows Embedded Standard 7,我想知道.Net应用程序的远程调试如何与Windows Embedded目标设备一起工作。 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. 在使用VS2008和ActiveSync(USB)的CE中,我可以点击F5并且我的应用程序会自动部署到目标设备并执行,因此我可以像我在本地调试时那样逐步完成断点。

Is there an equivalent remote debugging solution for Windows Embedded debugging? 是否有适用于Windows Embedded调试的等效远程调试解决方案? A quick glance through the Visual Studio "Remote Debugger" documentation makes the whole thing seem a lot clunkier/less integrated. 快速浏览一下Visual Studio“远程调试器”文档,可以看出整个事情看起来很笨拙/不那么集成。 Is there an easy way to debug applications on target devices running Windows Embedded like I would with CE? 有没有一种简单的方法来调试运行Windows Embedded的目标设备上的应用程序,就像我使用CE一样?

Thanks, Ben 谢谢,本

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'); 我只有在嵌入式Std7上通过标准网络接口进行此操作的经验,但我想使用ActiveSync连接的方法完全相同(就像我的手机之类的ActiveSync设备出现在'我的电脑'下); in short: 简而言之:

  • suppose the Embedded device is on \\\\Embedded 假设嵌入式设备在\\\\ Embedded上
  • share a directory on the Embedded device, say 'temp' 共享嵌入式设备上的目录,说'temp'
  • start the remote debugger client on your device 在您的设备上启动远程调试器客户端
  • point the output directory of your VS project to \\\\Embedded\\temp 将VS项目的输出目录指向\\\\ Embedded \\ temp
  • set the options for your project to remote debugging on \\\\Embedded 在\\\\ Embedded上设置项目的选项以进行远程调试
  • hitting F5 will build the exe, put it in \\\\Embedded\\temp and start debugging it 点击F5将构建exe,将其放入\\\\ Embedded \\ temp并开始调试

Look here for the document that got me started. 在这里查看让我入门的文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM