Release with Debug in Flex/Air?

2019-07-25 14:54发布

I am having one of those nasty "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.

2条回答
仙女界的扛把子
2楼-- · 2019-07-25 15:34

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.

查看更多
贼婆χ
3楼-- · 2019-07-25 15:52

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

查看更多
登录 后发表回答