断点和异常停止正常工作,xamarin机器人 [英] Breakpoints and Exceptions stopped working properly, xamarin android

查看:292
本文介绍了断点和异常停止正常工作,xamarin机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在开发Android的Xamarin C#应用程序,并有很奇怪的问题:
 断点和异常已经停止正常工作。
当我设置一个断点,它从来没有被击中。我已经设置断点都在我的项目,但他们没有被击中。这发生在Visual Studio和Xamarin Studio中也是如此。

I am developing app in Xamarin Android C# and have very strange problem: breakpoints and exceptions have stopped working properly. When I set a breakpoint it never gets hit. I have set breakpoints all over my project but none of them were hit. This happens in Visual Studio and in Xamarin Studio as well.

我也有第二和更恼人的问题,每有异常的时候,它会抛出完全无益java.lang.reflect.InvocationTargetException例外Xamarin Studio和在发生异常在Visual Studio中,没有更多的细节关于异常。这种情况只在一个特定的项目,其他项目做工精细。我特地在各种论坛和博客的解决方案,但没有一次成功。我是pretty新Xamarin的Andr​​oid开发,并希望您能帮助我

I also have second and more annoying problem, every time there is an exception, it throws totally unhelpful "java.lang.reflect.InvocationTargetException" exception in Xamarin Studio and "An Exception occurred" in Visual Studio, with no more details about the exception. This happens only in one particular project, other project work fine. I have looked for the solution in various forums and blogs but none of them worked. I am pretty new to Xamarin Android development, and hope you can help me

推荐答案

可能与太:

错误30318 - [Android]产品仅适用于Windows:在PCL项目断点不
  清洗液,重新部署,并重新启动后,调试工作。
  部分解决办法:删除解决方案中所有的bin文件夹后,
  清洗。​​

Bug 30318 - [Android] Windows only: Breakpoints in PCL projects do not work after cleaning solution, redeploying, and restarting debugging. Partial workaround: delete all the bin folders in the solution after cleaning.

删除bin和OBJ文件夹一直是我固定的问题,我对诉3.11.586。

Deleting the bin and obj folders has been fixing the issue for me, I'm on v. 3.11.586.

这篇关于断点和异常停止正常工作,xamarin机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆