OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 #include "vm/service_event.h" | 5 #include "vm/service_event.h" |
6 | 6 |
7 #include "vm/debugger.h" | 7 #include "vm/debugger.h" |
8 #include "vm/message_handler.h" | 8 #include "vm/message_handler.h" |
9 #include "vm/service_isolate.h" | 9 #include "vm/service_isolate.h" |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 case kPauseStart: | 76 case kPauseStart: |
77 return "PauseStart"; | 77 return "PauseStart"; |
78 case kPauseExit: | 78 case kPauseExit: |
79 return "PauseExit"; | 79 return "PauseExit"; |
80 case kPauseBreakpoint: | 80 case kPauseBreakpoint: |
81 return "PauseBreakpoint"; | 81 return "PauseBreakpoint"; |
82 case kPauseInterrupted: | 82 case kPauseInterrupted: |
83 return "PauseInterrupted"; | 83 return "PauseInterrupted"; |
84 case kPauseException: | 84 case kPauseException: |
85 return "PauseException"; | 85 return "PauseException"; |
| 86 case kPausePostRequest: |
| 87 return "PausePostRequest"; |
86 case kNone: | 88 case kNone: |
87 return "None"; | 89 return "None"; |
88 case kResume: | 90 case kResume: |
89 return "Resume"; | 91 return "Resume"; |
90 case kBreakpointAdded: | 92 case kBreakpointAdded: |
91 return "BreakpointAdded"; | 93 return "BreakpointAdded"; |
92 case kBreakpointResolved: | 94 case kBreakpointResolved: |
93 return "BreakpointResolved"; | 95 return "BreakpointResolved"; |
94 case kBreakpointRemoved: | 96 case kBreakpointRemoved: |
95 return "BreakpointRemoved"; | 97 return "BreakpointRemoved"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 case kIsolateReload: | 130 case kIsolateReload: |
129 case kIsolateSpawn: | 131 case kIsolateSpawn: |
130 case kServiceExtensionAdded: | 132 case kServiceExtensionAdded: |
131 return &Service::isolate_stream; | 133 return &Service::isolate_stream; |
132 | 134 |
133 case kPauseStart: | 135 case kPauseStart: |
134 case kPauseExit: | 136 case kPauseExit: |
135 case kPauseBreakpoint: | 137 case kPauseBreakpoint: |
136 case kPauseInterrupted: | 138 case kPauseInterrupted: |
137 case kPauseException: | 139 case kPauseException: |
| 140 case kPausePostRequest: |
138 case kNone: | 141 case kNone: |
139 case kResume: | 142 case kResume: |
140 case kBreakpointAdded: | 143 case kBreakpointAdded: |
141 case kBreakpointResolved: | 144 case kBreakpointResolved: |
142 case kBreakpointRemoved: | 145 case kBreakpointRemoved: |
143 case kInspect: | 146 case kInspect: |
144 case kDebuggerSettingsUpdate: | 147 case kDebuggerSettingsUpdate: |
145 return &Service::debug_stream; | 148 return &Service::debug_stream; |
146 | 149 |
147 case kGC: | 150 case kGC: |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 } else { | 279 } else { |
277 jsobj->AddProperty("isolate", isolate()); | 280 jsobj->AddProperty("isolate", isolate()); |
278 } | 281 } |
279 ASSERT(timestamp_ != -1); | 282 ASSERT(timestamp_ != -1); |
280 jsobj->AddPropertyTimeMillis("timestamp", timestamp_); | 283 jsobj->AddPropertyTimeMillis("timestamp", timestamp_); |
281 } | 284 } |
282 | 285 |
283 #endif // !PRODUCT | 286 #endif // !PRODUCT |
284 | 287 |
285 } // namespace dart | 288 } // namespace dart |
OLD | NEW |