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:34 UTC
[31/50] [abbrv] git commit: [flex-falcon] [refs/heads/develop] -
re-apply f3d1ac08380a26c51ac1317fb8a13e41c371e2a9 from Flex SDK
re-apply f3d1ac08380a26c51ac1317fb8a13e41c371e2a9 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/a4e55c7e
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/a4e55c7e
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/a4e55c7e
Branch: refs/heads/develop
Commit: a4e55c7e94846e12e48a9deb384306e717998621
Parents: 6f052d8
Author: Alex Harui <ah...@apache.org>
Authored: Mon Jun 1 10:16:51 2015 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Jun 1 10:16:51 2015 -0700
----------------------------------------------------------------------
debugger/src/flex/tools/debugger/cli/DebugCLI.java | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a4e55c7e/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 b4d5fe6..4678c94 100644
--- a/debugger/src/flex/tools/debugger/cli/DebugCLI.java
+++ b/debugger/src/flex/tools/debugger/cli/DebugCLI.java
@@ -2543,7 +2543,11 @@ public class DebugCLI implements Runnable, SourceLocator
sb.append(getLocalizationManager().getLocalizedTextString("linePrefixWhenDisplayingConsoleError")); //$NON-NLS-1$
sb.append(' ');
sb.append(e.information);
- }
+
+ final String stackTrace = e.stackTrace();
+ if (stackTrace != null && stackTrace.length() > 0) {
+ sb.append("\n").append(stackTrace);
+ }
else
{
String name = e.name();
@@ -2555,6 +2559,10 @@ public class DebugCLI implements Runnable, SourceLocator
sb.append(getLocalizationManager().getLocalizedTextString("informationAboutFault")); //$NON-NLS-1$
sb.append(e.information);
}
+ final String stackTrace = e.stackTrace();
+ if (stackTrace != null && stackTrace.length() > 0) {
+ sb.append("\n").append(stackTrace);
+ }
}
out( sb.toString() );
}