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

2

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: enter image description here

My Settings Currently: enter image description here

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?

c++
windows
debugging
core
iot
asked on Stack Overflow Nov 29, 2016 by Trevin Corkery

1 Answer

5

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:

enter image description here

or execute this command in PowerShell:

kill.exe msvsmon
answered on Stack Overflow Nov 30, 2016 by Rita Han

User contributions licensed under CC BY-SA 3.0