C#windows store / winRT无法计算表达式,因为本机帧位于调用堆栈的顶部

时间:2014-01-28 09:26:36

标签: c# windows windows-runtime windows-store

我有一个带有按钮的应用程序,可以导航回到开始页面。我第一次使用它没有任何问题,但如果我然后导航到应用程序并再次使用后退按钮应用程序挂在这一行

global::Windows.UI.Xaml.Application.Start((p) => new App());   

在此文件中

App.g.i.cs

这是一个自动生成的文件。如果我在该行设置断点,当鼠标悬停在

时会出现以下错误
Cannot evaluate expression because a native frame is on top of the call stack.

我尝试过使用

Frame.Navigate(typeof(StartPage));

Frame.GoBack();

在按钮的事件处理程序中导航回来。 我无法通过谷歌搜索找到任何看似相同的问题,也无法搜索堆栈溢出

0 个答案:

没有答案