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

Unified Diff: runtime/vm/service/service.md

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
« runtime/vm/service.cc ('K') | « runtime/vm/service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service/service.md
diff --git a/runtime/vm/service/service.md b/runtime/vm/service/service.md
index f9ee96a532367a6626a42d406e3872ae66cfbd85..737c710e99229872ffb1a6f58d8655d060157dd3 100644
--- a/runtime/vm/service/service.md
+++ b/runtime/vm/service/service.md
@@ -38,6 +38,7 @@ apparently outside the scope of the JSON-RPC specification.
- [removeBreakpoint](#removebreakpoint)
- [resume](#resume)
- [setName](#setname)
+ - [setLibraryDebuggable](#setlibrarydebuggable)
- [streamCancel](#streamcancel)
- [streamListen](#streamlisten)
- [Public Types](#public-types)
@@ -563,6 +564,19 @@ The _setName_ RPC is used to change the debugging name for an isolate.
See [Success](#success).
+### setLibraryDebuggable
+
+```
+Success setLibraryDebuggable(string isolateId,
+ string libraryId,
+ bool isDebuggable)
+```
+
+The _setLibraryDebuggable_ RPC is used to enable or disable whether
+breakpoints and stepping work for a given library.
+
+See [Success](#success).
+
### streamCancel
```
@@ -1296,6 +1310,9 @@ class Library extends Object {
// The uri of this library.
string uri;
+ // Is this library debuggable? Default true.
+ bool debuggable;
+
// A list of the imports for this library.
@Library[] imports;
@@ -1315,6 +1332,8 @@ class Library extends Object {
A _Library_ provides information about a Dart language library.
+See [setLibraryDebuggable](#setlibrarydebuggable).
+
### List
```
« runtime/vm/service.cc ('K') | « runtime/vm/service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698