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

Side by Side Diff: runtime/bin/dbg_message.h

Issue 14381005: Implement list isolates command (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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/bin/dbg_connection.cc ('k') | runtime/bin/dbg_message.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 BIN_DBG_MESSAGE_H_ 5 #ifndef BIN_DBG_MESSAGE_H_
6 #define BIN_DBG_MESSAGE_H_ 6 #define BIN_DBG_MESSAGE_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/utils.h" 9 #include "bin/utils.h"
10 10
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 intptr_t bp_id, 238 intptr_t bp_id,
239 const Dart_CodeLocation& location); 239 const Dart_CodeLocation& location);
240 static void PausedEventHandler(Dart_IsolateId isolate_id, 240 static void PausedEventHandler(Dart_IsolateId isolate_id,
241 const Dart_CodeLocation& loc); 241 const Dart_CodeLocation& loc);
242 static void ExceptionThrownHandler(Dart_IsolateId isolate_id, 242 static void ExceptionThrownHandler(Dart_IsolateId isolate_id,
243 Dart_Handle exception, 243 Dart_Handle exception,
244 Dart_StackTrace stack_trace); 244 Dart_StackTrace stack_trace);
245 static void IsolateEventHandler(Dart_IsolateId isolate_id, 245 static void IsolateEventHandler(Dart_IsolateId isolate_id,
246 Dart_IsolateEvent kind); 246 Dart_IsolateEvent kind);
247 247
248 // Print list of isolate ids of all message queues into text buffer.
249 static void ListIsolateIds(dart::TextBuffer* msg);
250
248 private: 251 private:
249 static DbgMsgQueue* GetIsolateMsgQueueLocked(Dart_IsolateId isolate_id); 252 static DbgMsgQueue* GetIsolateMsgQueueLocked(Dart_IsolateId isolate_id);
250 253
251 static DbgMsgQueue* list_; 254 static DbgMsgQueue* list_;
252 static dart::Mutex msg_queue_list_lock_; 255 static dart::Mutex msg_queue_list_lock_;
253 256
254 DISALLOW_ALLOCATION(); 257 DISALLOW_ALLOCATION();
255 DISALLOW_IMPLICIT_CONSTRUCTORS(DbgMsgQueueList); 258 DISALLOW_IMPLICIT_CONSTRUCTORS(DbgMsgQueueList);
256 }; 259 };
257 260
258 #endif // BIN_DBG_MESSAGE_H_ 261 #endif // BIN_DBG_MESSAGE_H_
OLDNEW
« no previous file with comments | « runtime/bin/dbg_connection.cc ('k') | runtime/bin/dbg_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698