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

Side by Side Diff: runtime/observatory/lib/src/elements/debugger.dart

Issue 2783933002: Fix many warnings/errors when building Observatory (Closed)
Patch Set: Created 3 years, 8 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
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 library debugger_page_element; 5 library debugger_page_element;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:svg'; 8 import 'dart:svg';
9 import 'dart:html'; 9 import 'dart:html';
10 import 'dart:math'; 10 import 'dart:math';
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 int count = 1; 445 int count = 1;
446 if (args.length > 0) { 446 if (args.length > 0) {
447 debugger.console.print('reload expects no arguments'); 447 debugger.console.print('reload expects no arguments');
448 return; 448 return;
449 } 449 }
450 await debugger.isolate.reloadSources(); 450 await debugger.isolate.reloadSources();
451 debugger.console.print('reload complete'); 451 debugger.console.print('reload complete');
452 await debugger.refreshStack(); 452 await debugger.refreshStack();
453 } on S.ServerRpcException catch (e) { 453 } on S.ServerRpcException catch (e) {
454 if (e.code == S.ServerRpcException.kIsolateReloadBarred || 454 if (e.code == S.ServerRpcException.kIsolateReloadBarred ||
455 e.code == S.ServerRpcException.kIsolateReloadFailed ||
456 e.code == S.ServerRpcException.kIsolateIsReloading) { 455 e.code == S.ServerRpcException.kIsolateIsReloading) {
457 debugger.console.printRed(e.data['details']); 456 debugger.console.printRed(e.data['details']);
458 } else { 457 } else {
459 rethrow; 458 rethrow;
460 } 459 }
461 } 460 }
462 } 461 }
463 462
464 String helpShort = 'Reload the sources for the current isolate'; 463 String helpShort = 'Reload the sources for the current isolate';
465 464
(...skipping 2855 matching lines...) Expand 10 before | Expand all | Expand 10 after
3321 ..setAttribute('height', '24') 3320 ..setAttribute('height', '24')
3322 ..children = [ 3321 ..children = [
3323 new PathElement() 3322 new PathElement()
3324 ..setAttribute( 3323 ..setAttribute(
3325 'd', 3324 'd',
3326 'M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 ' 3325 'M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 '
3327 '10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 ' 3326 '10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 '
3328 '0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 ' 3327 '0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 '
3329 '9h2V7h-2v2z') 3328 '9h2V7h-2v2z')
3330 ]; 3329 ];
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698