OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 /// ## Status: Unstable |
| 6 /// |
| 7 /// The dart:dev library is unstable and its API might change slightly as a |
| 8 /// result of developer feedback. This library is platform dependent and |
| 9 /// therefore it has implementations for both dart2js and the Dart VM. Both are |
| 10 /// under development and may not support all operations yet. |
| 11 /// |
| 12 /// |
| 13 library dart.dev; |
| 14 |
| 15 /// Stop the program as if a breakpoint where hit at the following statement. |
| 16 /// NOTE: When invoked, the isolate will not return until a debugger |
| 17 /// continues execution. When running in the Dart VM the behaviour is the same |
| 18 /// regardless of whether or not a debugger is connected. When compiled to |
| 19 /// JavaScript, this uses the "debugger" statement, and behaves exactly as |
| 20 /// that does. |
| 21 external void breakHere(); |
| 22 |
| 23 /// If [expr] is true, stop the program as if a breakpoint where hit at the |
| 24 /// following statement. See [breakHere]. |
| 25 external void breakHereIf(bool expr); |
OLD | NEW |