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

Side by Side Diff: sdk/lib/debugger/debugger.dart

Issue 1116263004: Add 'dart:debugger' library (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | « sdk/lib/_internal/libraries.dart ('k') | sdk/lib/debugger/debugger_sources.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 /// Programmatically trigger breakpoints.
6 library dart.debugger;
7
8 /// Programmatically trigger breakpoints.
9 class Debugger {
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
12 /// continues execution. The behaviour is the same regardless of whether or
13 /// not a debugger is connected.
14 static void breakHere() {
15 print('Debugger.breakHere not supported on this platform.');
16 }
17
18 /// If [expr] is true, stop the program as if a breakpoint where hit at the
19 /// following statement.
20 static void breakHereIf(bool expr) {
21 print('Debugger.breakHereIf not supported on this platform.');
22 }
23 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/libraries.dart ('k') | sdk/lib/debugger/debugger_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698