I’ve just stumbled upon a case when Flash app freezes in production Flash Player and works smoothly in a debug version. It doesn’t throw any errors or exceptions. Has anyone ever encountered anything like this? Why is it happening or how one is supposed to debug in such case?
And a side question – what exactly is different in debug version from internal point of view? Any good writeup on the topic?
UPDATE:
I didn’t mention, but the trouble is with Flash Player 11, it probably matters, cause Flash Player 10 doesn’t have any problems with the same code.
In case anyone wonders here how this problem got solved.
First of all the class that was causing the hang turned out to be nifty BitmapDataUnlimited, which makes possible to overcome bitmap resolution constrain in Flash. Basically what we’ve changed was that we made a class directly extending EventDispatcher, rather then implementing IEventDispatcher interface and having indirect deal with private internal _eventDispatcher object.
Can anyone tell me what’s the benefit of implementing IEventDispatcher interface directly?