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

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

Issue 1973303003: VMMustBePaused -> IsolateMustBePaused (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | « runtime/observatory/lib/src/app/application.dart ('k') | runtime/vm/json_stream.h » ('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) 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 19 matching lines...) Expand all
30 30
31 /// A ServerRpcException represents an error returned by the VM. 31 /// A ServerRpcException represents an error returned by the VM.
32 class ServerRpcException extends RpcException { 32 class ServerRpcException extends RpcException {
33 /// A list of well-known server error codes. 33 /// A list of well-known server error codes.
34 static const kParseError = -32700; 34 static const kParseError = -32700;
35 static const kInvalidRequest = -32600; 35 static const kInvalidRequest = -32600;
36 static const kMethodNotFound = -32601; 36 static const kMethodNotFound = -32601;
37 static const kInvalidParams = -32602; 37 static const kInvalidParams = -32602;
38 static const kInternalError = -32603; 38 static const kInternalError = -32603;
39 static const kFeatureDisabled = 100; 39 static const kFeatureDisabled = 100;
40 static const kVMMustBePaused = 101;
41 static const kCannotAddBreakpoint = 102; 40 static const kCannotAddBreakpoint = 102;
42 static const kStreamAlreadySubscribed = 103; 41 static const kStreamAlreadySubscribed = 103;
43 static const kStreamNotSubscribed = 104; 42 static const kStreamNotSubscribed = 104;
44 static const kIsolateMustBeRunnable = 105; 43 static const kIsolateMustBeRunnable = 105;
44 static const kIsolateMustBePaused = 106;
45 45
46 int code; 46 int code;
47 Map data; 47 Map data;
48 48
49 static _getMessage(Map errorMap) { 49 static _getMessage(Map errorMap) {
50 Map data = errorMap['data']; 50 Map data = errorMap['data'];
51 if (data != null && data['details'] != null) { 51 if (data != null && data['details'] != null) {
52 return data['details']; 52 return data['details'];
53 } else { 53 } else {
54 return errorMap['message']; 54 return errorMap['message'];
(...skipping 3992 matching lines...) Expand 10 before | Expand all | Expand 10 after
4047 var v = list[i]; 4047 var v = list[i];
4048 if ((v is ObservableMap) && _isServiceMap(v)) { 4048 if ((v is ObservableMap) && _isServiceMap(v)) {
4049 list[i] = owner.getFromMap(v); 4049 list[i] = owner.getFromMap(v);
4050 } else if (v is ObservableList) { 4050 } else if (v is ObservableList) {
4051 _upgradeObservableList(v, owner); 4051 _upgradeObservableList(v, owner);
4052 } else if (v is ObservableMap) { 4052 } else if (v is ObservableMap) {
4053 _upgradeObservableMap(v, owner); 4053 _upgradeObservableMap(v, owner);
4054 } 4054 }
4055 } 4055 }
4056 } 4056 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/app/application.dart ('k') | runtime/vm/json_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698