0 Replies Latest reply on Feb 10, 2010 6:35 AM by tjmojo

    Flash Builder: Debugger breaks on Errors (Exceptions)


      Not sure this is the right place to ask Flash Builder/FlexUnit integration questions:


      When FlexUnit tests are debugged inside Flash Builder, the debugger breaks/halts/stops on every error (exception) thrown in code. Is there a way to configure either FlexUnit or Flash Builder to register the error (dump to console and fail the test) and just continue?


      Even though the solution to this problem matters in any of our unit test runs, the particular use case here is testing a global exception handler I implemented for dealing with UncaughtErrorEvents in my application, which requires that I throw an exception in my test, but I don't want the test (nor Flash, for that matter), to halt.