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

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

Issue 1399743002: Straw man setExceptionPauseMode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 1702ec9b97aa8cd165256f85f1a2c77b01d4f712..54bf2aeac7ad4b94b19b07d99476314b36f0fb3d 100644
--- a/runtime/vm/service/service.md
+++ b/runtime/vm/service/service.md
@@ -38,6 +38,7 @@ The Service Protocol uses [JSON-RPC 2.0][].
- [pause](#pause)
- [removeBreakpoint](#removebreakpoint)
- [resume](#resume)
+ - [setExceptionPauseMode](#setexceptionpausemode)
- [setLibraryDebuggable](#setlibrarydebuggable)
- [setName](#setname)
- [setVMName](#setvmname)
@@ -624,6 +625,23 @@ Out | Single step until the current function exits
See [Success](#success), [StepOption](#StepOption).
+### setExceptionPauseMode
+
+```
+Success setExceptionPauseMode(string isolateId,
+ ExceptionPauseMode mode)
+```
+
+The _setExceptionPauseMode_ RPC is used to control if an isolate pauses when
+an exception is thrown.
+
+mode | meaning
+---- | -------
+None | Do not pause isolate on thrown exceptions
+Unhandled | Pause isolate on unhandled exceptions
+All | Pause isolate on all thrown exceptions
+
+
### setLibraryDebuggable
```
@@ -2032,6 +2050,19 @@ class Stack extends Response {
}
```
+### ExceptionPauseMode
+
+```
+enum ExceptionPauseMode {
+ None,
+ Unhandled,
+ All,
+}
+```
+
+An _ExceptionPauseMode_ indicates how the isolate pauses when an exception
+is thrown.
+
### StepOption
```
« 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