flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ftho...@apache.org
Subject [23/56] [abbrv] git commit: [flex-sdk] [refs/heads/develop] - FLEX-34332: info frame should return info in the context of the current worker.
Date Thu, 29 May 2014 16:03:05 GMT
FLEX-34332: info frame should return info 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/401ab387
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/401ab387
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/401ab387

Branch: refs/heads/develop
Commit: 401ab387382fff510bb79f43eb7e2893a0f0e0ff
Parents: 828a052
Author: Fr�d�ric THMOAS <fthomas@apache.org>
Authored: Sat May 24 13:56:34 2014 +0100
Committer: Fr�d�ric THMOAS <fthomas@apache.org>
Committed: Sat May 24 13:56:34 2014 +0100

----------------------------------------------------------------------
 modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/401ab387/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
----------------------------------------------------------------------
diff --git a/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java b/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
index 940f371..98f2595 100644
--- a/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
+++ b/modules/debugger/src/java/flex/tools/debugger/cli/DebugCLI.java
@@ -3674,7 +3674,7 @@ public class DebugCLI implements Runnable, SourceLocator {
     // @throws ArrayIndexOutOfBoundsException if frame 'frm' doesn't exist
     void dumpFrame(int frm) throws PlayerDebugException, ArrayIndexOutOfBoundsException {
         StringBuilder sb = new StringBuilder();
-        Frame[] ar = m_session.getFrames();
+        Frame[] ar = m_session.getWorkerSession(m_activeIsolate).getFrames();
         appendFrameInfo(sb, ar[frm], frm, false, true);
 
         sb.append(m_newline);
@@ -3684,7 +3684,7 @@ public class DebugCLI implements Runnable, SourceLocator {
     // set the listing command to point to the file/line of the given frame
     void setListingToFrame(int frameNum) throws PlayerDebugException {
         // set the module and line
-        Frame[] frames = m_session.getFrames();
+        Frame[] frames = m_session.getWorkerSession(m_activeIsolate).getFrames();
         Frame ctx = frames[frameNum];
 
         Location l = ctx.getLocation();


Mime
View raw message