Right now Flash Builder is telling me I have these errors when I'm debugging, but it won't tell me the line numbers and I can't figure out how to make it break when the errors occur. Is this possible?
Example console output:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
ReferenceError: Error #1056: Cannot create property is_flying on entities.Bird.
Thanks!
Ok, based on your last comment I have two suggestions:
Try adding an uncaught exception handler to your app. In that event handler, you can print your own stack trace to see where the error is coming from.
private function uncaughtErrorHandler(event:UncaughtErrorEvent):void
{
// note I suggested doing this, but you might also get some details
// out of the event object that is passed to this function
var e:Error = new Error('hi');
trace(e.getStackTrace();
}
Alternatively, since one of the errors mentions the is_flying
property, you could find all the places where that property is set and wrap that code in a try/catch
block.
Finally, that truly is a weird scenario that you and your coworkers are experiencing. If you can identify/reproduce the problem, you may want to submit a bug to Adobe.