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

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

Issue 10447045: Introduce library ids and info in the wire protocol (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 static void BreakpointHandler(Dart_Breakpoint bpt, Dart_StackTrace trace); 48 static void BreakpointHandler(Dart_Breakpoint bpt, Dart_StackTrace trace);
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 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 HandleGetObjPropsCmd(const char* json_msg); 61 static void HandleGetObjPropsCmd(const char* json_msg);
61 static void HandleGetScriptURLsCmd(const char* json_msg); 62 static void HandleGetScriptURLsCmd(const char* json_msg);
62 static void HandleGetStackTraceCmd(const char* json_msg); 63 static void HandleGetStackTraceCmd(const char* json_msg);
63 static void HandleSetBpCmd(const char* json_msg); 64 static void HandleSetBpCmd(const char* json_msg);
65 static void HandleRemBpCmd(const char* json_msg);
64 static void HandleUnknownMsg(const char* json_msg); 66 static void HandleUnknownMsg(const char* json_msg);
65 67
66 static void SendError(int msg_id, const char* err_msg); 68 static void SendError(int msg_id, const char* err_msg);
67 69
68 // Text buffer that accumulates messages to be sent to front end. 70 // Text buffer that accumulates messages to be sent to front end.
69 static dart::TextBuffer queued_messages_; 71 static dart::TextBuffer queued_messages_;
70 72
71 static bool handler_started_; 73 static bool handler_started_;
72 74
73 static bool request_resume_; 75 static bool request_resume_;
(...skipping 13 matching lines...) Expand all
87 89
88 static MessageBuffer* msgbuf_; 90 static MessageBuffer* msgbuf_;
89 91
90 friend class DebuggerConnectionImpl; 92 friend class DebuggerConnectionImpl;
91 93
92 DISALLOW_ALLOCATION(); 94 DISALLOW_ALLOCATION();
93 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler); 95 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler);
94 }; 96 };
95 97
96 #endif // BIN_DBG_CONNECTION_H_ 98 #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