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

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

Issue 1269083006: Remember when a variable has been expanded/unexpanded in the debugger. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
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:html'; 8 import 'dart:html';
9 import 'observatory_element.dart'; 9 import 'observatory_element.dart';
10 import 'package:observatory/cli.dart'; 10 import 'package:observatory/cli.dart';
(...skipping 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 busy = false; 1710 busy = false;
1711 }); 1711 });
1712 } 1712 }
1713 1713
1714 @observable String scriptHeight; 1714 @observable String scriptHeight;
1715 @observable bool expanded = false; 1715 @observable bool expanded = false;
1716 @observable bool busy = false; 1716 @observable bool busy = false;
1717 1717
1718 DebuggerFrameElement.created() : super.created(); 1718 DebuggerFrameElement.created() : super.created();
1719 1719
1720
1721 String makeExpandKey(String key) {
1722 return '${frame.function.qualifiedName}/${key}';
1723 }
1724
1720 bool matchFrame(Frame newFrame) { 1725 bool matchFrame(Frame newFrame) {
1721 return newFrame.function.id == frame.function.id; 1726 return newFrame.function.id == frame.function.id;
1722 } 1727 }
1723 1728
1724 void updateFrame(Frame newFrame) { 1729 void updateFrame(Frame newFrame) {
1725 assert(matchFrame(newFrame)); 1730 assert(matchFrame(newFrame));
1726 frame = newFrame; 1731 frame = newFrame;
1727 } 1732 }
1728 1733
1729 Script get script => frame.location.script; 1734 Script get script => frame.location.script;
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
2001 } 2006 }
2002 }); 2007 });
2003 } 2008 }
2004 2009
2005 void focus() { 2010 void focus() {
2006 $['textBox'].focus(); 2011 $['textBox'].focus();
2007 } 2012 }
2008 2013
2009 DebuggerInputElement.created() : super.created(); 2014 DebuggerInputElement.created() : super.created();
2010 } 2015 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/curly_block.html ('k') | runtime/observatory/lib/src/elements/debugger.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698