2016-10-04 77 views
0

如果我嘗試部署和調試窗口10移動應用程序,調試停止錯誤: enter image description here機調試錯誤

它只有當我設置本機調試情況。託管調試不會導致此類錯誤。

+0

這錯誤似乎與你的環境更相關。你在其他設備上測試過嗎?此外,這裏是[類似的情況](https://social.msdn.microsoft.com/Forums/en-US/2f539ccf-17ae-465a-9784-cda21e40a1a7/error-when-deploying-windows-10-uwp- app-to-phone?forum = wpdevelop)可能會有所幫助。 –

+0

是的,我試過了。它不工作。我想,它會導致msvsmon.exe。它的遠程調試器在手機上。 – JuP

回答

0

據說here .NET Native調試引擎與普通的.NET調試有一些功能差異。此外,建議調試非優化代碼:

These optimizations will have a significant impact on the debugging experience including unpredictable stepping and breakpoint behavior (due to code inlining) and the inability to inspect most variables due to memory optimizations.

雖然這不是你提出的情況下,進一步推動以下切實可行的解決辦法:

This means you will want to debug a non-optimized .NET Native build. This fastest way to do this is simply to disable optimizations.

Source