gpt4 book ai didi

exception - Monotouch 毫无异常(exception)地崩溃

转载 作者:行者123 更新时间:2023-12-02 22:06:21 25 4
gpt4 key购买 nike

我构建了一个单触摸应用程序,它在用户完成注册后随机崩溃,问题是没有抛出异常,我尝试在设备上测试它时使用调试器捕获它(当然我将其设置为捕获所有异常)我什至尝试设置崩溃工具,例如 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com