Index: runtime/vm/service/service.md |
diff --git a/runtime/vm/service/service.md b/runtime/vm/service/service.md |
index af2259bdde8e4396e3618a1949b87c3072cd1d50..be132cb8ac89c61911b2bbff65b11f3648b85347 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) |
@@ -62,6 +63,7 @@ apparently outside the scope of the JSON-RPC specification. |
- [Int](#int) |
- [Isolate](#isolate) |
- [Library](#library) |
+ - [LibraryDependency](#librarydependency) |
- [List](#list) |
- [ListElement](#listelement) |
- [Message](#message) |
@@ -563,6 +565,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 +1311,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. |
LibraryDependency[] dependencies; |
@@ -1315,6 +1333,10 @@ class Library extends Object { |
A _Library_ provides information about a Dart language library. |
+See [setLibraryDebuggable](#setlibrarydebuggable). |
+ |
+### LibraryDependency |
+ |
``` |
class LibraryDependency { |
// Is this dependency an import (rather than an export)? |