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 |
``` |