如何提高调试数据在野外时,我的应用程序崩溃的质量?我的、应用程序、在野外、质量

2023-09-07 22:02:49 作者:颜值界杠把子

我有我的第一个NullPointerException异常在我的应用程序,它的开发者露面控制台。

I had my first NullPointerExceptions in my app and it showed up on the Developer Console.

当我开始请教这里,我意识到了什么问题,但它带给我的脑海东西是一直困扰我一段时间前 - 如何使它尽可能容易调试我的code,当我访问的唯一的事情就是开发者控制台和堆栈跟踪present那里。

While I was starting to ask for advice here I realised what the problem was, but it brought to the front of my mind something that's been bothering me for some time - how to make it as easy as possible to debug my code when the only thing I have access to is the developer console and the stack traces present there.

在换句话说,有什么我可以做开发,提高了反馈,我拿到的时候在野外我的应用程序崩溃?也许这是谷歌Analytics(分析),也许是仪器仪表类,但必须有一个更好的方式来获得更多的上下文来帮我调试我的应用程序时,我没有访问权限的用户或他们的调试设备?

In other words, is there anything I can do as a developer to improve the feedback I get when my app crashes in the wild? Maybe it's Google Analytics, maybe the Instrumentation classes, but there must be a better way to get more context to help me debug my app when I don't have access to the user or their device for debugging?

推荐答案

您也可以使用ACRA的 HTTP://$c$c.google.com/p/acra/

You can also use ACRA http://code.google.com/p/acra/