Chromium Code Reviews| Index: dart/sdk/lib/core/breakpoint.dart |
| diff --git a/dart/tests/language/deferred_constraints_lib.dart b/dart/sdk/lib/core/breakpoint.dart |
| similarity index 61% |
| copy from dart/tests/language/deferred_constraints_lib.dart |
| copy to dart/sdk/lib/core/breakpoint.dart |
| index 9f4d207ce6f24744420d888a98714677f5665668..0dfc4e8c90d5085668325aac83d1e44520044b6c 100644 |
| --- a/dart/tests/language/deferred_constraints_lib.dart |
| +++ b/dart/sdk/lib/core/breakpoint.dart |
| @@ -2,14 +2,8 @@ |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| -class C { |
| - static int staticMethod() => 42; |
| -} |
| +part of dart.core; |
| -class G<T> {} |
| - |
| -class Const { |
| - const Const(); |
| -} |
| - |
| -const constantInstance = const Const(); |
| +/// Pause execution during debugging, a breakpoint. |
|
Lasse Reichstein Nielsen
2014/03/20 08:25:39
What does it means to be "during debugging". I'm a
|
| +/// Has no effect when not debugging. |
| +external void get breakpoint; |
|
Lasse Reichstein Nielsen
2014/03/20 08:25:39
This is regrettably a breaking change (no pun inte
Lasse Reichstein Nielsen
2014/03/20 08:25:39
"external void get" is not allowed by the spec. Th
kevmoo
2014/03/20 16:34:46
DBC: Can we make this a method?
break() or setBre
ahe
2014/03/20 16:50:47
Breakpoint is one word according to DevTools, and
|