简体   繁体   中英

C++ - Windows Iot Core Remote Debugger - Debugger fails to start

I just bought a Raspberry Pi 3 and I am trying to set-up and remotely debug an application on my Pi.

I've been doing some research and Microsoft has documented that the debugging authentication type "Universal" is used for iot devices. (When I use "Universal" I get an error when I try to debug)

Error:

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  

But if I change the Authentication to "No Authentication" the app successfully deploys to my Raspberry Pi but I am unable to actually debug it (halt at breakpoints, etc)

This is the error I get: 在此处输入图片说明

My Settings Currently: 在此处输入图片说明

So is there any way to step through my code on the Visual Studio as its executing on my PI? Do I need to download some extra stuff?

Visual Studio does not seem happy with launching msvscon.exe by user, either as DefaultAccount or not.

To solve your issue you can try the following two method:

  1. Reboot the remote device.
  2. Kill all msvsmon.exe processes in Device Portal like this:

在此处输入图片说明

or execute this command in PowerShell :

kill.exe msvsmon

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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