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

Side by Side Diff: runtime/observatory/lib/src/service/object.dart

Issue 2070873002: Bug fixes for hot reload (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix an error message Created 4 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
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/service.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 part of service; 5 part of service;
6 6
7 // Some value smaller than the object ring, so requesting a large array 7 // Some value smaller than the object ring, so requesting a large array
8 // doesn't result in an expired ref because the elements lapped it in the 8 // doesn't result in an expired ref because the elements lapped it in the
9 // object ring. 9 // object ring.
10 const int kDefaultFieldLimit = 100; 10 const int kDefaultFieldLimit = 100;
(...skipping 28 matching lines...) Expand all
39 static const kFeatureDisabled = 100; 39 static const kFeatureDisabled = 100;
40 static const kCannotAddBreakpoint = 102; 40 static const kCannotAddBreakpoint = 102;
41 static const kStreamAlreadySubscribed = 103; 41 static const kStreamAlreadySubscribed = 103;
42 static const kStreamNotSubscribed = 104; 42 static const kStreamNotSubscribed = 104;
43 static const kIsolateMustBeRunnable = 105; 43 static const kIsolateMustBeRunnable = 105;
44 static const kIsolateMustBePaused = 106; 44 static const kIsolateMustBePaused = 106;
45 static const kIsolateIsReloading = 1000; 45 static const kIsolateIsReloading = 1000;
46 static const kFileSystemAlreadyExists = 1001; 46 static const kFileSystemAlreadyExists = 1001;
47 static const kFileSystemDoesNotExist = 1002; 47 static const kFileSystemDoesNotExist = 1002;
48 static const kFileDoesNotExist = 1003; 48 static const kFileDoesNotExist = 1003;
49 static const kIsolateReloadFailed = 1004;
49 50
50 int code; 51 int code;
51 Map data; 52 Map data;
52 53
53 static _getMessage(Map errorMap) { 54 static _getMessage(Map errorMap) {
54 Map data = errorMap['data']; 55 Map data = errorMap['data'];
55 if (data != null && data['details'] != null) { 56 if (data != null && data['details'] != null) {
56 return data['details']; 57 return data['details'];
57 } else { 58 } else {
58 return errorMap['message']; 59 return errorMap['message'];
(...skipping 4055 matching lines...) Expand 10 before | Expand all | Expand 10 after
4114 var v = list[i]; 4115 var v = list[i];
4115 if ((v is ObservableMap) && _isServiceMap(v)) { 4116 if ((v is ObservableMap) && _isServiceMap(v)) {
4116 list[i] = owner.getFromMap(v); 4117 list[i] = owner.getFromMap(v);
4117 } else if (v is ObservableList) { 4118 } else if (v is ObservableList) {
4118 _upgradeObservableList(v, owner); 4119 _upgradeObservableList(v, owner);
4119 } else if (v is ObservableMap) { 4120 } else if (v is ObservableMap) {
4120 _upgradeObservableMap(v, owner); 4121 _upgradeObservableMap(v, owner);
4121 } 4122 }
4122 } 4123 }
4123 } 4124 }
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698