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

Side by Side Diff: runtime/vm/service.h

Issue 993613002: Implement 'print', 'up', 'down', and 'frame' commands in the Observatory debugger. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 5 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/message_handler.cc ('k') | runtime/vm/service.cc » ('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) 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 #ifndef VM_SERVICE_H_ 5 #ifndef VM_SERVICE_H_
6 #define VM_SERVICE_H_ 6 #define VM_SERVICE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 static const int kEventFamilyGC = 1; 61 static const int kEventFamilyGC = 1;
62 static const uint32_t kEventFamilyDebugMask = (1 << kEventFamilyDebug); 62 static const uint32_t kEventFamilyDebugMask = (1 << kEventFamilyDebug);
63 static const uint32_t kEventFamilyGCMask = (1 << kEventFamilyGC); 63 static const uint32_t kEventFamilyGCMask = (1 << kEventFamilyGC);
64 64
65 static void EmbedderHandleMessage(EmbedderServiceHandler* handler, 65 static void EmbedderHandleMessage(EmbedderServiceHandler* handler,
66 JSONStream* js); 66 JSONStream* js);
67 67
68 static EmbedderServiceHandler* FindIsolateEmbedderHandler(const char* name); 68 static EmbedderServiceHandler* FindIsolateEmbedderHandler(const char* name);
69 static EmbedderServiceHandler* FindRootEmbedderHandler(const char* name); 69 static EmbedderServiceHandler* FindRootEmbedderHandler(const char* name);
70 70
71 static void SendEvent(intptr_t eventId, const Object& eventMessage); 71 static void SendEvent(intptr_t eventFamilyId,
72 intptr_t eventType,
73 const Object& eventMessage);
72 // Does not take ownership of 'data'. 74 // Does not take ownership of 'data'.
73 static void SendEvent(intptr_t eventId, 75 static void SendEvent(intptr_t eventId,
74 const String& meta, 76 const String& meta,
75 const uint8_t* data, 77 const uint8_t* data,
76 intptr_t size); 78 intptr_t size);
77 79
78 static EmbedderServiceHandler* isolate_service_handler_head_; 80 static EmbedderServiceHandler* isolate_service_handler_head_;
79 static EmbedderServiceHandler* root_service_handler_head_; 81 static EmbedderServiceHandler* root_service_handler_head_;
80 82
81 static uint32_t event_mask_; 83 static uint32_t event_mask_;
82 }; 84 };
83 85
84 } // namespace dart 86 } // namespace dart
85 87
86 #endif // VM_SERVICE_H_ 88 #endif // VM_SERVICE_H_
OLDNEW
« no previous file with comments | « runtime/vm/message_handler.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698