flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ftho...@apache.org
Subject [2/2] git commit: [flex-sdk] [refs/heads/FDBWorkers] - FLEX-34333: print #<number> should be evaluated in the context of the current worker
Date Sat, 24 May 2014 12:59:05 GMT
FLEX-34333: print #<number> should be evaluated in the context of the current worker


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/df0fceae
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/df0fceae
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/df0fceae

Branch: refs/heads/FDBWorkers
Commit: df0fceaeef45569c06aaf342fa9ba6e9c4d7efb5
Parents: 401ab38
Author: Fr�d�ric THMOAS <fthomas@apache.org>
Authored: Sat May 24 13:57:34 2014 +0100
Committer: Fr�d�ric THMOAS <fthomas@apache.org>
Committed: Sat May 24 13:57:34 2014 +0100

----------------------------------------------------------------------
 .../flash/tools/debugger/expression/DebuggerEvaluator.java  | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/df0fceae/modules/debugger/src/java/flash/tools/debugger/expression/DebuggerEvaluator.java
----------------------------------------------------------------------
diff --git a/modules/debugger/src/java/flash/tools/debugger/expression/DebuggerEvaluator.java
b/modules/debugger/src/java/flash/tools/debugger/expression/DebuggerEvaluator.java
index cfeb66a..5082b09 100644
--- a/modules/debugger/src/java/flash/tools/debugger/expression/DebuggerEvaluator.java
+++ b/modules/debugger/src/java/flash/tools/debugger/expression/DebuggerEvaluator.java
@@ -24,13 +24,10 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
+import flash.tools.debugger.*;
 import macromedia.asc.parser.*;
 import macromedia.asc.semantics.ObjectValue;
 import macromedia.asc.semantics.Value;
-import flash.tools.debugger.PlayerDebugException;
-import flash.tools.debugger.Session;
-import flash.tools.debugger.Variable;
-import flash.tools.debugger.VariableType;
 import flash.tools.debugger.concrete.DValue;
 
 /**
@@ -454,11 +451,11 @@ class DebuggerEvaluator implements Evaluator
 
 		if (isConstructor)
 		{
-			return session.callConstructor(functionName, valueArgs);
+			return ((IsolateController) session).callConstructorWorker(functionName, valueArgs, thisObject.getIsolateId());
 		}
 		else
 		{
-			return session.callFunction(thisObject, functionName, valueArgs);
+			return ((IsolateController) session).callFunctionWorker(thisObject, functionName, valueArgs,
thisObject.getIsolateId());
 		}
 	}
 


Mime
View raw message