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

问题描述 投票:0回答:1

我刚刚购买了 Raspberry Pi 3,我正在尝试在我的 Pi 上设置和远程调试应用程序。

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

错误:

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  

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

这是我得到的错误:

我当前的设置:

那么有什么方法可以在 Visual Studio 上单步执行我在 PI 上执行的代码吗?我需要下载一些额外的东西吗?

c++ debugging windows-10-iot-core
1个回答
5
投票

Visual Studio 似乎对用户启动 msvscon.exe 不满意,无论是否作为 DefaultAccount。

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

  1. 重新启动远程设备。
  2. 像这样杀死 Device Portal 中的所有 msvsmon.exe 进程:

或在PowerShell中执行此命令:

kill.exe msvsmon
© www.soinside.com 2019 - 2024. All rights reserved.