Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2096)

Unified Diff: editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/configs/DartiumLaunchConfigurationDelegate.java

Issue 753183003: Fix an issue resolving paths when remote debugging. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/configs/DartiumLaunchConfigurationDelegate.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/configs/DartiumLaunchConfigurationDelegate.java (revision 41867)
+++ editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/configs/DartiumLaunchConfigurationDelegate.java (working copy)
@@ -32,6 +32,7 @@
import com.google.dart.tools.debug.core.webkit.DefaultChromiumTabChooser;
import com.google.dart.tools.debug.core.webkit.IChromiumTabChooser;
+import org.eclipse.core.resources.IContainer;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
@@ -117,7 +118,7 @@
}
@Override
- public IDebugTarget performRemoteConnection(String host, int port, IFile file,
+ public IDebugTarget performRemoteConnection(String host, int port, IContainer container,
IProgressMonitor monitor, boolean usePubServe) throws CoreException {
BrowserManager browserManager = new BrowserManager();
@@ -129,12 +130,11 @@
}
return browserManager.performRemoteConnection(tabChooser, host, port, monitor, resolver);
-
}
private ResourceServer getResourceServer() throws CoreException {
+ ResourceServer resourceResolver;
- ResourceServer resourceResolver;
try {
resourceResolver = ResourceServerManager.getServer();
} catch (IOException ioe) {

Powered by Google App Engine
This is Rietveld 408576698