Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: runtime/bin/dbg_connection.h

Issue 10407071: Introduce remote objects in Debugger protocol (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/bin/dbg_connection.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 static void AcceptDbgConnection(int debug_fd); 50 static void AcceptDbgConnection(int debug_fd);
51 static void CloseDbgConnection(); 51 static void CloseDbgConnection();
52 52
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 HandleGetLibraryURLsCmd(const char* json_msg); 58 static void HandleGetLibraryURLsCmd(const char* json_msg);
59 static void HandleGetClassPropsCmd(const char* json_msg);
60 static void HandleGetObjPropsCmd(const char* json_msg);
59 static void HandleGetScriptURLsCmd(const char* json_msg); 61 static void HandleGetScriptURLsCmd(const char* json_msg);
60 static void HandleGetStackTraceCmd(const char* json_msg); 62 static void HandleGetStackTraceCmd(const char* json_msg);
61 static void HandleSetBpCmd(const char* json_msg); 63 static void HandleSetBpCmd(const char* json_msg);
62 static void HandleUnknownMsg(const char* json_msg); 64 static void HandleUnknownMsg(const char* json_msg);
63 65
64 static void SendError(int msg_id, const char* err_msg); 66 static void SendError(int msg_id, const char* err_msg);
65 67
66 // Text buffer that accumulates messages to be sent to front end. 68 // Text buffer that accumulates messages to be sent to front end.
67 static dart::TextBuffer queued_messages_; 69 static dart::TextBuffer queued_messages_;
68 70
(...skipping 16 matching lines...) Expand all
85 87
86 static MessageBuffer* msgbuf_; 88 static MessageBuffer* msgbuf_;
87 89
88 friend class DebuggerConnectionImpl; 90 friend class DebuggerConnectionImpl;
89 91
90 DISALLOW_ALLOCATION(); 92 DISALLOW_ALLOCATION();
91 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler); 93 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler);
92 }; 94 };
93 95
94 #endif // BIN_DBG_CONNECTION_H_ 96 #endif // BIN_DBG_CONNECTION_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/dbg_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698