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

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: 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/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 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)?
« no previous file with comments | « runtime/vm/service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698