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

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: 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
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index ff296e3cc91b9709caefa3ca79101776c8c2ee4f..b02836e6994c36fb53e8cc0d1864d94f99ef3b4e 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);

Powered by Google App Engine
This is Rietveld 408576698