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.
精彩评论