| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library debugger_page_element; | 5 library debugger_page_element; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:html'; | 8 import 'dart:html'; |
| 9 import 'observatory_element.dart'; | 9 import 'observatory_element.dart'; |
| 10 import 'package:observatory/app.dart'; | 10 import 'package:observatory/app.dart'; |
| (...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 885 _refreshStack(isolate.pauseEvent).then((_) { | 885 _refreshStack(isolate.pauseEvent).then((_) { |
| 886 reportStatus(); | 886 reportStatus(); |
| 887 }); | 887 }); |
| 888 }); | 888 }); |
| 889 }); | 889 }); |
| 890 } else { | 890 } else { |
| 891 reportStatus(); | 891 reportStatus(); |
| 892 } | 892 } |
| 893 } | 893 } |
| 894 | 894 |
| 895 void set isolate(Isolate iso) { | 895 set isolate(Isolate iso) { |
| 896 // Setting the page's isolate will trigger updateIsolate to be called. | 896 // Setting the page's isolate will trigger updateIsolate to be called. |
| 897 // | 897 // |
| 898 // TODO(turnidge): Rework ownership of the ObservatoryDebugger in another | 898 // TODO(turnidge): Rework ownership of the ObservatoryDebugger in another |
| 899 // change. | 899 // change. |
| 900 page.isolate = iso; | 900 page.isolate = iso; |
| 901 } | 901 } |
| 902 Isolate get isolate => _isolate; | 902 Isolate get isolate => _isolate; |
| 903 Isolate _isolate; | 903 Isolate _isolate; |
| 904 var _subscription; | 904 var _subscription; |
| 905 | 905 |
| (...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1495 default: | 1495 default: |
| 1496 busy = false; | 1496 busy = false; |
| 1497 break; | 1497 break; |
| 1498 } | 1498 } |
| 1499 }); | 1499 }); |
| 1500 } | 1500 } |
| 1501 | 1501 |
| 1502 DebuggerInputElement.created() : super.created(); | 1502 DebuggerInputElement.created() : super.created(); |
| 1503 } | 1503 } |
| 1504 | 1504 |
| OLD | NEW |