| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 static void CloseDbgConnection(); | 55 static void CloseDbgConnection(); |
| 56 | 56 |
| 57 static void HandleMessages(); | 57 static void HandleMessages(); |
| 58 static void HandleResumeCmd(const char* msg); | 58 static void HandleResumeCmd(const char* msg); |
| 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 HandleGetGlobalsCmd(const char* json_msg); |
| 65 static void HandleGetObjPropsCmd(const char* json_msg); | 66 static void HandleGetObjPropsCmd(const char* json_msg); |
| 66 static void HandleGetScriptURLsCmd(const char* json_msg); | 67 static void HandleGetScriptURLsCmd(const char* json_msg); |
| 67 static void HandleGetSourceCmd(const char* json_msg); | 68 static void HandleGetSourceCmd(const char* json_msg); |
| 68 static void HandleGetStackTraceCmd(const char* json_msg); | 69 static void HandleGetStackTraceCmd(const char* json_msg); |
| 69 static void HandlePauseOnExcCmd(const char* json_msg); | 70 static void HandlePauseOnExcCmd(const char* json_msg); |
| 70 static void HandleSetBpCmd(const char* json_msg); | 71 static void HandleSetBpCmd(const char* json_msg); |
| 71 static void HandleRemBpCmd(const char* json_msg); | 72 static void HandleRemBpCmd(const char* json_msg); |
| 72 static void HandleUnknownMsg(const char* json_msg); | 73 static void HandleUnknownMsg(const char* json_msg); |
| 73 | 74 |
| 74 static void SendError(int msg_id, const char* err_msg); | 75 static void SendError(int msg_id, const char* err_msg); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 95 | 96 |
| 96 static MessageBuffer* msgbuf_; | 97 static MessageBuffer* msgbuf_; |
| 97 | 98 |
| 98 friend class DebuggerConnectionImpl; | 99 friend class DebuggerConnectionImpl; |
| 99 | 100 |
| 100 DISALLOW_ALLOCATION(); | 101 DISALLOW_ALLOCATION(); |
| 101 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler); | 102 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler); |
| 102 }; | 103 }; |
| 103 | 104 |
| 104 #endif // BIN_DBG_CONNECTION_H_ | 105 #endif // BIN_DBG_CONNECTION_H_ |
| OLD | NEW |