| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 static void HandleStepIntoCmd(const char* msg); | 59 static void HandleStepIntoCmd(const char* msg); |
| 60 static void HandleStepOverCmd(const char* msg); | 60 static void HandleStepOverCmd(const char* msg); |
| 61 static void HandleStepOutCmd(const char* msg); | 61 static void HandleStepOutCmd(const char* msg); |
| 62 static void HandleGetLibrariesCmd(const char* json_msg); | 62 static void HandleGetLibrariesCmd(const char* json_msg); |
| 63 static void HandleGetClassPropsCmd(const char* json_msg); | 63 static void HandleGetClassPropsCmd(const char* json_msg); |
| 64 static void HandleGetLibPropsCmd(const char* json_msg); | 64 static void HandleGetLibPropsCmd(const char* json_msg); |
| 65 static void HandleGetObjPropsCmd(const char* json_msg); | 65 static void HandleGetObjPropsCmd(const char* json_msg); |
| 66 static void HandleGetScriptURLsCmd(const char* json_msg); | 66 static void HandleGetScriptURLsCmd(const char* json_msg); |
| 67 static void HandleGetSourceCmd(const char* json_msg); | 67 static void HandleGetSourceCmd(const char* json_msg); |
| 68 static void HandleGetStackTraceCmd(const char* json_msg); | 68 static void HandleGetStackTraceCmd(const char* json_msg); |
| 69 static void HandlePauseOnExcCmd(const char* json_msg); |
| 69 static void HandleSetBpCmd(const char* json_msg); | 70 static void HandleSetBpCmd(const char* json_msg); |
| 70 static void HandleRemBpCmd(const char* json_msg); | 71 static void HandleRemBpCmd(const char* json_msg); |
| 71 static void HandleUnknownMsg(const char* json_msg); | 72 static void HandleUnknownMsg(const char* json_msg); |
| 72 | 73 |
| 73 static void SendError(int msg_id, const char* err_msg); | 74 static void SendError(int msg_id, const char* err_msg); |
| 74 | 75 |
| 75 // Text buffer that accumulates messages to be sent to front end. | 76 // Text buffer that accumulates messages to be sent to front end. |
| 76 static dart::TextBuffer queued_messages_; | 77 static dart::TextBuffer queued_messages_; |
| 77 | 78 |
| 78 static bool handler_started_; | 79 static bool handler_started_; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 94 | 95 |
| 95 static MessageBuffer* msgbuf_; | 96 static MessageBuffer* msgbuf_; |
| 96 | 97 |
| 97 friend class DebuggerConnectionImpl; | 98 friend class DebuggerConnectionImpl; |
| 98 | 99 |
| 99 DISALLOW_ALLOCATION(); | 100 DISALLOW_ALLOCATION(); |
| 100 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler); | 101 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler); |
| 101 }; | 102 }; |
| 102 | 103 |
| 103 #endif // BIN_DBG_CONNECTION_H_ | 104 #endif // BIN_DBG_CONNECTION_H_ |
| OLD | NEW |