我怎样才能获得堆栈跟踪在非调试模式下的Adobe AIR全球运行时错误? [英] How can I get stacktrace for Adobe AIR global runtime errors in non-debug mode?

查看:190
本文介绍了我怎样才能获得堆栈跟踪在非调试模式下的Adobe AIR全球运行时错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新版本的AIR使我们在全球范围内捕获运行时错误并处理它们的能力。的问题是,它不具有异常堆栈或有关错误比误差ID和错误信息和名称等任何有用的信息。例如,它可以告诉我,一个空指针异常已经发生,但它不会告诉我在哪里,哪一种方法或任何东西。运行时的调试版本给我们带来了这一切,但是当应用程序部署到客户它不是在调试版本运行,这样没有任何有用的信息是可用的。我在想,如果这个群体对如何能更好地记录错误在AIR应用程序更好地保障产品的任何建议。有什么建议?

The new version AIR gives us the ability to globally capture run time errors and handle them. The problem is that it doesn't have the stacktrace or any helpful information about the error other than the error id and error message and name. For example it may tell me that a null pointer exception has happened but it will not tell me where or which method or anything. The debug version of the runtime gives us all of that but when the app is deployed to customers it is not running on the debug version so none of the useful information is available. I was wondering if this group has any suggestions on how to enable better logging of errors in an AIR app for better supportability of the product. Any suggestions?

推荐答案

没有办法,直到AIR的新版本支持它。它确实是因为性能问题不是现在,呈现全球处理器几乎没有用武之地。我等待着它太,因为另一种方法是自己记录的一切,这是非常耗时的。

No way until new version of AIR supports it. It doesn't now because of performance issues, rendering global handler almost useless. I'm waiting for it too, because alternative is logging everything yourself, and this is very time consuming.

这篇关于我怎样才能获得堆栈跟踪在非调试模式下的Adobe AIR全球运行时错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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