开发者

Release with Debug in Flex/Air?

开发者 https://www.devze.com 2023-03-16 08:07 出处:网络
I am having one of those nast开发者_高级运维y \"works in debug but not in release\" bugs.Is there any way to build a release version of the app but also debug it?Some platforms allow for this... but I

I am having one of those nast开发者_高级运维y "works in debug but not in release" bugs. Is there any way to build a release version of the app but also debug it? Some platforms allow for this... but I haven't found a way to do it with my Flex/Air app.


Short answer: No, not in an easy fashion.

Long Answer: Definitely possible, but you need to work in the logs yourself. You should look at SpiceFactory's Logger implementation; it's very good. You could have those logs be sent to a server periodically if you wanted to. Furthermore, you could always use something like FlexSpy in your application to see what's going on.

It all depends on how much 'debugging' that you want in a release version while keeping in mind that anything added will decrease performance.


You can do some "debugging" without modifying your SWF using SWFWire Debugger.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号