2016-11-29 67 views
0

我刚买了一个Raspberry Pi 3,我试图设置和远程调试我的Pi上的应用程序。C++ - Windows Iot核心远程调试器 - 调试器无法启动

我一直在做一些调查,微软有documented调试认证类型“Universal”用于iot设备。 (当我使用“万能”我得到一个错误,当我尝试调试)

错误:

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 

但如果我更改身份验证为“无身份验证”应用程序成功地部署到我的树莓派,但我无法真正对其进行调试(停止在断点等)

这是我的错误: enter image description here

我的设置目前: enter image description here

那么有没有什么办法可以在我的PI上执行我的Visual Studio代码?我是否需要下载一些额外的东西?

+0

什么是你的Visual Studio版本?您是否尝试在调试设置的机器名称中删除端口(8116)? –

+0

@ RitaHan-MSFT我有两种身份验证类型,它说“远程调试程序似乎没有在远程计算机上运行”(当我打开远程调试程序在IOT核心,它告诉我输入192.168.1.143:8116 但是我有Visual Studio 2015 Enterprise。 –

+0

不需要打开远程调试器,只需重新启动Raspberry Pi并尝试使用官方示例[HelloBlinkyBackground](https://github.com/ms-iot/samples/tree/develop/HelloBlinkyBackground/CPP)。 –

回答

1

Visual Studio似乎不喜欢用户启动msvscon.exe,无论是否为DefaultAccount。

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

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

enter image description here

或执行中PowerShell此命令:

kill.exe msvsmon 
相关问题