| Index: editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/dartium/BreakpointManager.java
|
| ===================================================================
|
| --- editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/dartium/BreakpointManager.java (revision 44804)
|
| +++ editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/dartium/BreakpointManager.java (working copy)
|
| @@ -38,6 +38,8 @@
|
| import org.eclipse.debug.core.model.IBreakpoint;
|
|
|
| import java.io.IOException;
|
| +import java.io.UnsupportedEncodingException;
|
| +import java.net.URLDecoder;
|
| import java.util.ArrayList;
|
| import java.util.HashMap;
|
| import java.util.List;
|
| @@ -236,6 +238,12 @@
|
| if (DartCore.isWindows() && packagePath.startsWith("/")) {
|
| packagePath = packagePath.substring(1);
|
| }
|
| + try {
|
| + // server returns a url encoded string, so decode before matching
|
| + packagePath = URLDecoder.decode(packagePath, "UTF-8");
|
| + } catch (UnsupportedEncodingException e) {
|
| + DartCore.logError(e);
|
| + }
|
| if (new Path(packagePath).equals(new Path(fileLocation))) {
|
| return null;
|
| }
|
|
|