You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/06/02 19:05:50 UTC

[47/50] [abbrv] git commit: [flex-falcon] [refs/heads/develop] - re-apply f7fdee9cb529bfb71d571e296d2aaeab8c5abfb4 from Flex SDK

re-apply f7fdee9cb529bfb71d571e296d2aaeab8c5abfb4 from Flex SDK


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

Branch: refs/heads/develop
Commit: 57485859fa09523604e3884ff2e7cbbe99d6a713
Parents: 9d02c25
Author: Alex Harui <ah...@apache.org>
Authored: Mon Jun 1 23:27:09 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Jun 1 23:27:09 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/57485859/debugger/src/flex/tools/debugger/cli/DebugCLI.java
----------------------------------------------------------------------
diff --git a/debugger/src/flex/tools/debugger/cli/DebugCLI.java b/debugger/src/flex/tools/debugger/cli/DebugCLI.java
index 5fdb2f0..9a54501 100644
--- a/debugger/src/flex/tools/debugger/cli/DebugCLI.java
+++ b/debugger/src/flex/tools/debugger/cli/DebugCLI.java
@@ -2542,9 +2542,10 @@ public class DebugCLI implements Runnable, SourceLocator
 				int line = l.getLine();
 				SourceFile f = l.getFile();
 				Location newLoc = findAndEnableBreak(swf, f, line);
-				if (newLoc != null)
-					bp.addLocation(newLoc);
-                else newLoc.getFile();
+                if (newLoc != null) {
+                	bp.addLocation(newLoc);
+                    dumpAddedBreakpoint(bp);
+                }
 
                 dumpAddedBreakpoint(bp);
 			}