| Index: runtime/observatory/lib/src/elements/isolate_view.dart
|
| diff --git a/runtime/observatory/lib/src/elements/isolate_view.dart b/runtime/observatory/lib/src/elements/isolate_view.dart
|
| index 48fb285e75f1b0c14cedec12122f02dacc87a63e..787b1f0604bdfe712e7db2f58d192ea535135886 100644
|
| --- a/runtime/observatory/lib/src/elements/isolate_view.dart
|
| +++ b/runtime/observatory/lib/src/elements/isolate_view.dart
|
| @@ -130,7 +130,7 @@ class IsolateViewElement extends ObservatoryElement {
|
| }
|
|
|
| Future pause(_) {
|
| - return isolate.get("debug/pause").then((result) {
|
| + return isolate.pause().then((result) {
|
| // TODO(turnidge): Instead of asserting here, handle errors
|
| // properly.
|
| assert(result.type == 'Success');
|
| @@ -139,7 +139,7 @@ class IsolateViewElement extends ObservatoryElement {
|
| }
|
|
|
| Future resume(_) {
|
| - return isolate.get("resume").then((result) {
|
| + return isolate.resume().then((result) {
|
| // TODO(turnidge): Instead of asserting here, handle errors
|
| // properly.
|
| assert(result.type == 'Success');
|
|
|