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

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

Issue 1139503002: Move 'dart:profiler' contents into 'dart:developer' and remove 'dart:profiler' (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 | « runtime/vm/vm.gypi ('k') | sdk/lib/developer/developer_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
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 /// ## Status: Unstable 5 /// ## Status: Unstable
6 /// 6 ///
7 /// The dart:developer library is unstable and its API might change slightly 7 /// The dart:developer library is unstable and its API might change slightly
8 /// as a result of developer feedback. This library is platform dependent and 8 /// as a result of developer feedback. This library is platform dependent and
9 /// therefore it has implementations for both dart2js and the Dart VM. Both are 9 /// therefore it has implementations for both dart2js and the Dart VM. Both are
10 /// under development and may not support all operations yet. 10 /// under development and may not support all operations yet.
11 /// 11 ///
12 library dart.developer; 12 library dart.developer;
13 13
14 import 'dart:convert';
15
16 part 'profiler.dart';
17
14 /// If [when] is true, stop the program as if a breakpoint where hit at the 18 /// If [when] is true, stop the program as if a breakpoint where hit at the
15 /// following statement. Returns the value of [when]. Some debuggers may 19 /// following statement. Returns the value of [when]. Some debuggers may
16 /// display [msg]. 20 /// display [msg].
17 /// NOTE: When invoked, the isolate will not return until a debugger 21 /// NOTE: When invoked, the isolate will not return until a debugger
18 /// continues execution. When running in the Dart VM the behaviour is the same 22 /// continues execution. When running in the Dart VM the behaviour is the same
19 /// regardless of whether or not a debugger is connected. When compiled to 23 /// regardless of whether or not a debugger is connected. When compiled to
20 /// JavaScript, this uses the "debugger" statement, and behaves exactly as 24 /// JavaScript, this uses the "debugger" statement, and behaves exactly as
21 /// that does. 25 /// that does.
22 external bool debugger({bool when: true, String msg}); 26 external bool debugger({bool when: true, String msg});
OLDNEW
« no previous file with comments | « runtime/vm/vm.gypi ('k') | sdk/lib/developer/developer_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698