Index: editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmConnection.java |
=================================================================== |
--- editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmConnection.java (revision 16349) |
+++ editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmConnection.java (working copy) |
@@ -1019,10 +1019,6 @@ |
System.out.println("<== " + str); |
} |
- // The VM doesn't escape newlines in toString values - our JSON parser chokes. |
- // TODO(devoncarew): file a bug |
- str = str.replace("\n", "\\n"); |
- |
return new JSONObject(str); |
} catch (JSONException e) { |
throw new IOException(e); |