dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.26k stars 1.58k forks source link

Capture stdout/stderr in log when Frog fails #2410

Closed danrubel closed 9 years ago

danrubel commented 12 years ago

When Frog/Leg/dart2js fails to generate JS, we need to capture the stdout and stderr so that we can better understand the problem...

[user feedback] org.eclipse.core.runtime.CoreException: Failure to launch - unable to generate JavaScript for Clock.html.

Please see console for more details. Failure to launch - unable to generate JavaScript for Clock.html.

Please see console for more details.

No additional info shown in console //////////////////////////////////////////////////////////////////////////////////// Editor Version: 5845 //////////////////////////////////////////////////////////////////////////////////// OS: Windows XP - x86 (5.1) SDK installed = true Dartium installed = false //////////////////////////////////////////////////////////////////////////////////// !SESSION 2012-04-02 20:20:02.853 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_31 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 -data workspace

!ENTRY com.google.dart.tools.debug.core 4 0 2012-04-02 20:21:03.274 !MESSAGE Failure to launch - unable to generate JavaScript for Clock.html.

Please see console for more details. !STACK 1 org.eclipse.core.runtime.CoreException: Failure to launch - unable to generate JavaScript for Clock.html.

Please see console for more details.        at com.google.dart.tools.debug.ui.internal.browser.BrowserLaunchConfigurationDelegate.compileJavascript(BrowserLaunchConfigurationDelegate.java:165)        at com.google.dart.tools.debug.ui.internal.browser.BrowserLaunchConfigurationDelegate.launch(BrowserLaunchConfigurationDelegate.java:83)        at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)        at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)        at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)        at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.google.dart.tools.debug.ui 4 0 2012-04-02 20:21:03.274 !MESSAGE Failure to launch - unable to generate JavaScript for Clock.html.

Please see console for more details.

!ENTRY com.google.dart.tools.debug.ui 4 0 2012-04-02 20:21:03.274 !MESSAGE org.eclipse.core.runtime.CoreException: Failure to launch - unable to generate JavaScript for Clock.html.

Please see console for more details. !STACK 1 org.eclipse.core.runtime.CoreException: Failure to launch - unable to generate JavaScript for Clock.html.

Please see console for more details.        at com.google.dart.tools.debug.ui.internal.browser.BrowserLaunchConfigurationDelegate.compileJavascript(BrowserLaunchConfigurationDelegate.java:165)        at com.google.dart.tools.debug.ui.internal.browser.BrowserLaunchConfigurationDelegate.launch(BrowserLaunchConfigurationDelegate.java:83)        at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)        at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)        at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)        at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SUBENTRY 1 com.google.dart.tools.debug.ui 4 0 2012-04-02 20:21:03.274 !MESSAGE Failure to launch - unable to generate JavaScript for Clock.html.

Please see console for more details.

keertip commented 12 years ago

Fixed yesterday http://codereview.chromium.org/9950059/


Added Fixed label.