当应用程序在测试人员的手机上崩溃时创建错误报告?

发布于 2024-10-16 06:28:29 字数 60 浏览 3 评论 0原文

我希望尽快让一群人在他们的手机上测试我的应用程序。如果应用程序崩溃,他们向我发送错误报告的最佳方式是什么?

I'm wanting to have a bunch of people beta test my app on their phones soon. In the event that the app crashes, what's the best way for them to send me a bug report?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

过期以后 2024-10-23 06:28:29

一个好的方法是使用第三方服务,例如 Instabug,这是一个错误和问题。崩溃报告服务可以实现两件事:

  • 发生崩溃时自动接收崩溃报告
  • 允许用户通过应用内的摇动手势报告错误。

所有报告都会到达您的 Instabug 仪表板,其中包含各种详细信息,例如:

  • 网络和控制台日志
  • 完整的设备详细信息
  • 可视化再现步骤
  • 当前视图层次结构的 3D 检查
  • 崩溃堆栈跟踪(如果出现崩溃报告)
  • 只需一行代码即可集成。

为了充分披露,我在 Instabug 工作。如果我能帮忙,请告诉我。

A good approach is to use a 3rd party service like Instabug which is a bug & crash reporting service that allows for two things:

  • Automatically receive crash reports in the event of a crash
  • Allow users to report bugs through a shake gesture in-app.

All reports arrive to your Instabug dashboard containing various details such as:

  • Network and console logs
  • Complete Device details
  • Visual reproduction steps
  • 3D inspection of the current view hierarchy
  • Crash stack trace (In case of a crash report)
  • It only takes a line of code to integrate.

For full disclosure, I work at Instabug. Let me know if I can help.

身边 2024-10-23 06:28:29

我自己的经验:我在我的项目中使用 Flurry 作为分析工具。我按照 Flurry 的建议在我的代码中设置了一个未捕获的异常侦听器。

void uncaughtExceptionHandler(NSException *exception) {
    [FlurryAPI logError:@"Uncaught" message:@"Crash!" exception:exception];
}
- (void)applicationDidFinishLaunching:(UIApplication *)application { 
    NSSetUncaughtExceptionHandler(&uncaughtExceptionHandler);
    [FlurryAPI startSession:@"my_API_here"];
        ....
}

然后我测试了我的应用程序,在几个小时的延迟后,我能够看到向 Flurry 报告的一些崩溃。像这样的事情:

NSInvalidArgumentException:
-[NSCFString objectAtIndex:]: 无法识别的选择器发送到实例
0x2e1b30 消息:崩溃!

它既不完整也不彻底,但它是一种对野外发生的事情有基本了解的便捷方法。

My own experience: I used Flurry as the analytics tool in my project. I followed Flurry's recommendation and set up an uncaught exception listener inside my code.

void uncaughtExceptionHandler(NSException *exception) {
    [FlurryAPI logError:@"Uncaught" message:@"Crash!" exception:exception];
}
- (void)applicationDidFinishLaunching:(UIApplication *)application { 
    NSSetUncaughtExceptionHandler(&uncaughtExceptionHandler);
    [FlurryAPI startSession:@"my_API_here"];
        ....
}

And then I tested my app, and after several hours' delay, I was able to see a few crashes reported to Flurry. Things like this:

NSInvalidArgumentException:
-[NSCFString objectAtIndex:]: unrecognized selector sent to instance
0x2e1b30 Msg: Crash!

It's neither complete nor thorough, but it was a convenient way to have a basic sense of what's going on out there in the wild.

故人如初 2024-10-23 06:28:29

为其设置一个数据库。有一个提交表单,将他们的报告放入数据库中。这样,他们提交的任何信息都可以轻松搜索和管理。

Setup a database for it. Have a submit form that places their report into the database. This way any of the info they submit can be searched and managed easilly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文