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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 static bool HandleStepOutCmd(DbgMessage* msg); | 97 static bool HandleStepOutCmd(DbgMessage* msg); |
98 static bool HandleGetLibrariesCmd(DbgMessage* msg); | 98 static bool HandleGetLibrariesCmd(DbgMessage* msg); |
99 static bool HandleGetClassPropsCmd(DbgMessage* msg); | 99 static bool HandleGetClassPropsCmd(DbgMessage* msg); |
100 static bool HandleGetLibPropsCmd(DbgMessage* msg); | 100 static bool HandleGetLibPropsCmd(DbgMessage* msg); |
101 static bool HandleSetLibPropsCmd(DbgMessage* msg); | 101 static bool HandleSetLibPropsCmd(DbgMessage* msg); |
102 static bool HandleGetGlobalsCmd(DbgMessage* msg); | 102 static bool HandleGetGlobalsCmd(DbgMessage* msg); |
103 static bool HandleGetObjPropsCmd(DbgMessage* msg); | 103 static bool HandleGetObjPropsCmd(DbgMessage* msg); |
104 static bool HandleGetListCmd(DbgMessage* msg); | 104 static bool HandleGetListCmd(DbgMessage* msg); |
105 static bool HandleGetScriptURLsCmd(DbgMessage* msg); | 105 static bool HandleGetScriptURLsCmd(DbgMessage* msg); |
106 static bool HandleGetSourceCmd(DbgMessage* msg); | 106 static bool HandleGetSourceCmd(DbgMessage* msg); |
| 107 static bool HandleGetLineNumbersCmd(DbgMessage* msg); |
107 static bool HandleGetStackTraceCmd(DbgMessage* msg); | 108 static bool HandleGetStackTraceCmd(DbgMessage* msg); |
108 static bool HandlePauseOnExcCmd(DbgMessage* msg); | 109 static bool HandlePauseOnExcCmd(DbgMessage* msg); |
109 static bool HandleSetBpCmd(DbgMessage* msg); | 110 static bool HandleSetBpCmd(DbgMessage* msg); |
110 static bool HandleRemBpCmd(DbgMessage* msg); | 111 static bool HandleRemBpCmd(DbgMessage* msg); |
111 | 112 |
112 private: | 113 private: |
113 DbgMessage* next_; // Next message in the queue. | 114 DbgMessage* next_; // Next message in the queue. |
114 int32_t cmd_idx_; // Isolate specific debugger command index. | 115 int32_t cmd_idx_; // Isolate specific debugger command index. |
115 char* buffer_; // Debugger command message. | 116 char* buffer_; // Debugger command message. |
116 int32_t buffer_len_; // Length of the debugger command message. | 117 int32_t buffer_len_; // Length of the debugger command message. |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 static DbgMsgQueue* GetIsolateMsgQueueLocked(Dart_IsolateId isolate_id); | 251 static DbgMsgQueue* GetIsolateMsgQueueLocked(Dart_IsolateId isolate_id); |
251 | 252 |
252 static DbgMsgQueue* list_; | 253 static DbgMsgQueue* list_; |
253 static dart::Mutex msg_queue_list_lock_; | 254 static dart::Mutex msg_queue_list_lock_; |
254 | 255 |
255 DISALLOW_ALLOCATION(); | 256 DISALLOW_ALLOCATION(); |
256 DISALLOW_IMPLICIT_CONSTRUCTORS(DbgMsgQueueList); | 257 DISALLOW_IMPLICIT_CONSTRUCTORS(DbgMsgQueueList); |
257 }; | 258 }; |
258 | 259 |
259 #endif // BIN_DBG_MESSAGE_H_ | 260 #endif // BIN_DBG_MESSAGE_H_ |
OLD | NEW |