OLD | NEW |
---|---|
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 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 | 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 /// Programmatically trigger breakpoints. | 5 /// Programmatically trigger breakpoints. |
6 library dart.debugger; | 6 library dart.debugger; |
7 | 7 |
8 /// Programmatically trigger breakpoints. | 8 /// Programmatically trigger breakpoints. |
9 class Debugger { | 9 class Debugger { |
10 /// Stop the program as if a breakpoint where hit at the following statement. | 10 /// Stop the program as if a breakpoint where hit at the following statement. |
11 /// NOTE: When invoked, the isolate will not return until a debugger | 11 /// NOTE: When invoked, the isolate will not return until a debugger |
12 /// continues execution. The behaviour is the same regardless of whether or | 12 /// continues execution. The behaviour is the same regardless of whether or |
13 /// not a debugger is connected. | 13 /// not a debugger is connected. |
Cutch
2015/05/06 19:50:10
DBC: Update comment here.
Alan Knight
2015/05/06 22:30:50
Already done from an earlier comment.
skybrian
2015/05/06 22:51:56
There are doc comments in two places, here and in
| |
14 static void breakHere() { | 14 external static void breakHere(); |
15 print('Debugger.breakHere not supported on this platform.'); | |
16 } | |
17 | 15 |
18 /// If [expr] is true, stop the program as if a breakpoint where hit at the | 16 /// If [expr] is true, stop the program as if a breakpoint where hit at the |
19 /// following statement. | 17 /// following statement. |
20 static void breakHereIf(bool expr) { | 18 external static void breakHereIf(bool expr); |
21 print('Debugger.breakHereIf not supported on this platform.'); | |
22 } | |
23 } | 19 } |
OLD | NEW |