Tuesday, February 3, 2009

A couple of good rules of thumb with Flex Builder

When it's being flakey, clean the project. I just had a bug where what the debugger said a class instance was and what it ACTUALLY was were different.

When I cleaned (after having had successfully rebuilt the project and ran it a few times, as well as stepping through the code!) - the compiler then told me there was an error in the code that wouldn't allow it compile. An error in the code that I had just been stepping through.

Nice. Thanks Adobe! You guys ROCK!

Second - and this one bites me in the ass a lot since I am lazy and haven't set up a proper way to enable this in the HTML templates yet - make sure your caching is off when testing your Flex browser app. I occasionally forget to turn this back off and get a really weird bug bite me in the ass before I remember.

0 comments:

Post a Comment