作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我构建了一个单触摸应用程序,它在用户完成注册后随机崩溃,问题是没有抛出异常,我尝试在设备上测试它时使用调试器捕获它(当然我将其设置为捕获所有异常)我什至尝试设置崩溃工具,例如 HockeyApp,但这些崩溃不会出现在任何地方。
我该如何解决这个问题?请帮忙!
最佳答案
您应该查看Raygun.io 。它将把任何未处理的异常记录到仪表板。通过 nuget 包添加它,然后您可以在 Main.cs 中使用一行进行设置:
namespace Myapp.iOS
{
public class Application
{
// This is the main entry point of the application.
static void Main(string[] args)
{
Mindscape.Raygun4Net.RaygunClient.Attach("enter your api key here");
UIApplication.Main(args, null, "AppDelegate");
}
}
}
关于exception - Monotouch 毫无异常(exception)地崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25698684/
我是一名优秀的程序员,十分优秀!