| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |