| Index: dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmConnection.java
|
| ===================================================================
|
| --- dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmConnection.java (revision 42030)
|
| +++ dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/VmConnection.java (working copy)
|
| @@ -829,20 +829,20 @@
|
| // TODO(scheglov) commented out on 2014-09-25
|
| // I still can step into SDK libraries without it.
|
| // And with it VM sometimes ignores "resume" command and application just hangs.
|
| -// try {
|
| -// JSONObject request = new JSONObject();
|
| -//
|
| -// request.put("command", "setLibraryProperties");
|
| -// request.put(
|
| -// "params",
|
| -// new JSONObject().put("libraryId", libraryId).put(
|
| -// "debuggingEnabled",
|
| -// Boolean.toString(debuggingEnabled)));
|
| -//
|
| -// sendRequest(request, isolate.getId(), null);
|
| -// } catch (JSONException exception) {
|
| -// throw new IOException(exception);
|
| -// }
|
| + try {
|
| + JSONObject request = new JSONObject();
|
| +
|
| + request.put("command", "setLibraryProperties");
|
| + request.put(
|
| + "params",
|
| + new JSONObject().put("libraryId", libraryId).put(
|
| + "debuggingEnabled",
|
| + Boolean.toString(debuggingEnabled)));
|
| +
|
| + sendRequest(request, isolate.getId(), null);
|
| + } catch (JSONException exception) {
|
| + throw new IOException(exception);
|
| + }
|
| }
|
|
|
| /**
|
|
|