2016-11-29 66 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 
相關問題