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

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
« 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 1702ec9b97aa8cd165256f85f1a2c77b01d4f712..c3610dce799bfc6f9ba49a69f34a29bf54d45b28 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)
danrubel 2015/10/09 19:16:31 Indent?
- [setLibraryDebuggable](#setlibrarydebuggable)
- [setName](#setname)
- [setVMName](#setvmname)
@@ -624,6 +625,22 @@ 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
+---- | -------
+All | Pause isolate on all thrown exceptions
+None | Do not pause isolate on thrown exceptions
turnidge 2015/10/12 16:43:51 Can we order these: None Unhandled All That way
Cutch 2015/10/12 17:51:42 Done.
+Unhandled | Pause isolate on unhandled exceptions
+
### setLibraryDebuggable
```
@@ -2032,6 +2049,19 @@ class Stack extends Response {
}
```
+### ExceptionPauseMode
+
+```
+enum ExceptionPauseMode {
+ All,
+ None,
turnidge 2015/10/12 16:43:51 Can we put None first?
Cutch 2015/10/12 17:51:42 Done.
+ Unhandled,
+}
+```
+
+An _ExceptionPauseMode_ indicates how the isolate pauses when an exception
+is thrown.
+
### StepOption
```
« 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