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

Side by Side Diff: tools/ddbg.dart

Issue 10829459: Deprecate Math object in corelib in favor of dart:math library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 4 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 | « tools/create_sdk.py ('k') | tools/testing/dart/test_options.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // Simple interactive debugger shell that connects to the Dart VM's debugger 5 // Simple interactive debugger shell that connects to the Dart VM's debugger
6 // connection port. 6 // connection port.
7 7
8 #import("dart:io"); 8 #import("dart:io");
9 #import("dart:json"); 9 #import("dart:json");
10 #import("dart:math", prefix: "Math");
10 #import("dart:utf"); 11 #import("dart:utf");
11 12
12 13
13 Map<int, Completer> outstandingCommands; 14 Map<int, Completer> outstandingCommands;
14 15
15 Socket vmSock; 16 Socket vmSock;
16 String vmData; 17 String vmData;
17 OutputStream vmStream; 18 OutputStream vmStream;
18 int seqNum = 0; 19 int seqNum = 0;
19 20
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 }; 451 };
451 vmInStream.onError = (err) { 452 vmInStream.onError = (err) {
452 print("Error in debug connection: $err"); 453 print("Error in debug connection: $err");
453 quitShell(); 454 quitShell();
454 }; 455 };
455 vmInStream.onClosed = () { 456 vmInStream.onClosed = () {
456 print("VM debugger connection closed"); 457 print("VM debugger connection closed");
457 quitShell(); 458 quitShell();
458 }; 459 };
459 } 460 }
OLDNEW
« no previous file with comments | « tools/create_sdk.py ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698