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

Unified Diff: runtime/vm/object.cc

Issue 1149373006: Add getVersion and setLibraryDebuggable RPCs to the service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: when all is said and done Created 5 years, 7 months 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
« no previous file with comments | « runtime/observatory/tests/service/set_library_debuggable_rpc_test.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index db6dfaaf6b3be2e32ad41aedb19842689158e5f8..800fad3b3e2ee4b638f7fb5b8d450fa8a7986a86 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -9903,6 +9903,7 @@ void Library::PrintJSONImpl(JSONStream* stream, bool ref) const {
if (ref) {
return;
}
+ jsobj.AddProperty("debuggable", IsDebuggable());
{
JSONArray jsarr(&jsobj, "classes");
ClassDictionaryIterator class_iter(*this);
« no previous file with comments | « runtime/observatory/tests/service/set_library_debuggable_rpc_test.dart ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698