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

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

Issue 1174313002: Allow setting break-on-exceptions option over the service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 script_inset_element; 5 library script_inset_element;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:html'; 8 import 'dart:html';
9 import 'observatory_element.dart'; 9 import 'observatory_element.dart';
10 import 'service_ref.dart'; 10 import 'service_ref.dart';
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 ? (script.tokenToCol(currentPos) - 1) // make this 0-based. 442 ? (script.tokenToCol(currentPos) - 1) // make this 0-based.
443 : null); 443 : null);
444 _endLine = (endPos != null 444 _endLine = (endPos != null
445 ? script.tokenToLine(endPos) 445 ? script.tokenToLine(endPos)
446 : script.lines.length + script.lineOffset); 446 : script.lines.length + script.lineOffset);
447 447
448 annotations.clear(); 448 annotations.clear();
449 449
450 addCurrentExecutionAnnotation(); 450 addCurrentExecutionAnnotation();
451 451
452 if (!inDebuggerContext) { 452 if (!inDebuggerContext && script.library != null) {
453 loadDeclarationsOfLibrary(script.library); 453 loadDeclarationsOfLibrary(script.library);
454 454
455 // Add fields before functions so they beat out conflicting 455 // Add fields before functions so they beat out conflicting
456 // implicit g/setters. 456 // implicit g/setters.
457 addClassAnnotations(); 457 addClassAnnotations();
458 addFieldAnnotations(); 458 addFieldAnnotations();
459 addFunctionAnnotations(); 459 addFunctionAnnotations();
460 addCallSiteAnnotations(); 460 addCallSiteAnnotations();
461 } 461 }
462 462
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 class SourceInsetElement extends PolymerElement { 761 class SourceInsetElement extends PolymerElement {
762 SourceInsetElement.created() : super.created(); 762 SourceInsetElement.created() : super.created();
763 763
764 @published SourceLocation location; 764 @published SourceLocation location;
765 @published String height = null; 765 @published String height = null;
766 @published int currentPos; 766 @published int currentPos;
767 @published bool inDebuggerContext = false; 767 @published bool inDebuggerContext = false;
768 @published ObservableList variables; 768 @published ObservableList variables;
769 } 769 }
770 770
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/function_view.html ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698