C ++-Windows Iot Core远程调试器-调试器无法启动

Tre*_*ery 2 c++ windows debugging core iot

我刚刚购买了Raspberry Pi 3,并且试图在Pi上设置和远程调试应用程序。

我一直在做一些研究,Microsoft已经记录了将调试身份验证类型“ Universal”用于物联网设备。(当我使用“通用”时,尝试调试时出现错误)

错误:

Error DEP6953 : Failed to launch remote debugger with the following error: 'DEP6953 : Failed to launch remote debugger with the following error: 'Command failed: 0x800705b4'.'.    BackgroundApplication2  
Run Code Online (Sandbox Code Playgroud)

但是,如果我将身份验证更改为“无身份验证”,则应用程序将成功部署到我的Raspberry Pi中,但我无法对其进行实际调试(在断点处暂停,等等)

这是我得到的错误: 在此处输入图片说明

我的当前设置: 在此处输入图片说明

那么,在PI上执行代码时,是否有任何方法可以在Visual Studio上逐步执行代码?我需要下载一些额外的东西吗?

Rit*_*Han 5

Visual Studio对于用户是否以DefaultAccount身份启动msvscon.exe似乎并不满意。

要解决您的问题,您可以尝试以下两种方法:

  1. 重新启动远程设备。
  2. 杀死设备门户中的所有msvsmon.exe进程,如下所示:

在此处输入图片说明

或在PowerShell中执行以下命令:

kill.exe msvsmon
Run Code Online (Sandbox Code Playgroud)