Chromium Code Reviews| 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 41867) |
| +++ 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(); |
| + |
|
devoncarew
2014/11/25 18:27:35
Commented this back in; w/o it we can't step into
|
| + 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); |
| + } |
| } |
| /** |