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_CONNECTION_H_ | 5 #ifndef BIN_DBG_CONNECTION_H_ |
6 #define BIN_DBG_CONNECTION_H_ | 6 #define BIN_DBG_CONNECTION_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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 static void HandleMessages(); | 53 static void HandleMessages(); |
54 static void HandleResumeCmd(const char* msg); | 54 static void HandleResumeCmd(const char* msg); |
55 static void HandleStepIntoCmd(const char* msg); | 55 static void HandleStepIntoCmd(const char* msg); |
56 static void HandleStepOverCmd(const char* msg); | 56 static void HandleStepOverCmd(const char* msg); |
57 static void HandleStepOutCmd(const char* msg); | 57 static void HandleStepOutCmd(const char* msg); |
58 static void HandleGetLibrariesCmd(const char* json_msg); | 58 static void HandleGetLibrariesCmd(const char* json_msg); |
59 static void HandleGetClassPropsCmd(const char* json_msg); | 59 static void HandleGetClassPropsCmd(const char* json_msg); |
60 static void HandleGetLibPropsCmd(const char* json_msg); | 60 static void HandleGetLibPropsCmd(const char* json_msg); |
61 static void HandleGetObjPropsCmd(const char* json_msg); | 61 static void HandleGetObjPropsCmd(const char* json_msg); |
62 static void HandleGetScriptURLsCmd(const char* json_msg); | 62 static void HandleGetScriptURLsCmd(const char* json_msg); |
| 63 static void HandleGetSourceCmd(const char* json_msg); |
63 static void HandleGetStackTraceCmd(const char* json_msg); | 64 static void HandleGetStackTraceCmd(const char* json_msg); |
64 static void HandleSetBpCmd(const char* json_msg); | 65 static void HandleSetBpCmd(const char* json_msg); |
65 static void HandleRemBpCmd(const char* json_msg); | 66 static void HandleRemBpCmd(const char* json_msg); |
66 static void HandleUnknownMsg(const char* json_msg); | 67 static void HandleUnknownMsg(const char* json_msg); |
67 | 68 |
68 static void SendError(int msg_id, const char* err_msg); | 69 static void SendError(int msg_id, const char* err_msg); |
69 | 70 |
70 // Text buffer that accumulates messages to be sent to front end. | 71 // Text buffer that accumulates messages to be sent to front end. |
71 static dart::TextBuffer queued_messages_; | 72 static dart::TextBuffer queued_messages_; |
72 | 73 |
(...skipping 16 matching lines...) Expand all Loading... |
89 | 90 |
90 static MessageBuffer* msgbuf_; | 91 static MessageBuffer* msgbuf_; |
91 | 92 |
92 friend class DebuggerConnectionImpl; | 93 friend class DebuggerConnectionImpl; |
93 | 94 |
94 DISALLOW_ALLOCATION(); | 95 DISALLOW_ALLOCATION(); |
95 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler); | 96 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler); |
96 }; | 97 }; |
97 | 98 |
98 #endif // BIN_DBG_CONNECTION_H_ | 99 #endif // BIN_DBG_CONNECTION_H_ |
OLD | NEW |