【发布时间】:2013-09-26 05:17:11
【问题描述】:
我正在通过 Visual Studio 2010 测试 Xamarin.Android。
我的 Xamarin.Android VS2010 解决方案包含两个项目:Android 项目和一个为我正在制作的演示应用程序执行所有业务逻辑的项目(我将在本文中称之为 MyProject) - Android 项目参考MyProject 项目/程序集)。
当我运行应用程序时,我在 MyProject 中收到异常错误,因此我想进入 MyProject 并调试问题。
但是,当我调试时,VS2010 并没有进入 MyProject。
例如:
在我的 Android 项目中,我在异常位置有一个断点:
MyProject mp= new MyProject();
mp.DoSomething(); // Exception is thrown here, breakpoint is set here, but VS doesn't step into the MyProject code. The debugger gets stuck here and displays exception info in the Output window.
在我的 VS2010 Mono Android 项目中调试引用的项目/程序集需要做什么?
【问题讨论】:
标签: visual-studio-2010 xamarin.android visual-studio-debugging