0 Replies Latest reply on Jun 11, 2008 2:08 PM by mike_morearty

    [svn] 2049: Two debugger features:

    mike_morearty Level 1
      Revision: 2049
      Author: mmoreart@adobe.com
      Date: 2008-06-11 15:08:21 -0700 (Wed, 11 Jun 2008)

      Log Message:
      -----------
      Two debugger features:

      1. New fdb command, "catch ExceptionType" (e.g. "catch TypeError"), will halt in the debugger whenever an exception of that type is raised, even if there is a "catch" block in the code that is going to catch the exception. To have the debugger halt on all exceptions, do "catch *".

      2. Expression evaluator now supports the following additional operators:
      -- "is" (e.g. foo is Button)
      -- "instanceof" (e.g. foo instanceof Button)
      -- "in" (e.g. "membername" in myObj)
      -- "as" (e.g. foo as Button)

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/Session.java
      flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/Value.java
      flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/DManager.java
      flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/DMessage.java
      flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java
      flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/events/ExceptionFault.java
      flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/expression/DebuggerEvaluato r.java
      flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/expression/ECMA.java
      flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/threadsafe/ThreadSafeSessio n.java
      flex/sdk/trunk/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
      flex/sdk/trunk/modules/debugger/src/java/flex/tools/debugger/cli/ExpressionContext.java
      flex/sdk/trunk/modules/debugger/src/java/flex/tools/debugger/cli/fdb_en.properties
      flex/sdk/trunk/modules/debugger/src/java/flex/tools/debugger/cli/fdb_ja.properties
      flex/sdk/trunk/modules/debugger/src/java/flex/tools/debugger/cli/fdbhelp_en.txt

      Added Paths:
      -----------
      flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/BinaryOp.java
      flex/sdk/trunk/modules/debugger/src/java/flex/tools/debugger/cli/CatchAction.java