Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Side by Side Diff: dart/sdk/lib/core/breakpoint.dart

Issue 204483002: Add 'breakpoint' similar to 'debugger' from JavaScript. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/sdk/lib/_internal/lib/js_primitives.dart ('k') | dart/sdk/lib/core/core.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 class C { 5 part of dart.core;
6 static int staticMethod() => 42;
7 }
8 6
9 class G<T> {} 7 /// 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
10 8 /// Has no effect when not debugging.
11 class Const { 9 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
12 const Const();
13 }
14
15 const constantInstance = const Const();
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/lib/js_primitives.dart ('k') | dart/sdk/lib/core/core.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698