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

Side by Side Diff: bin/dbg_connection.h

Issue 11026011: Add isolate event handler setup in order to be able to propagate isolate (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 2 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 | 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 30 matching lines...) Expand all
41 private: 41 private:
42 static void SendMsg(dart::TextBuffer* msg); 42 static void SendMsg(dart::TextBuffer* msg);
43 static void QueueMsg(dart::TextBuffer* msg); 43 static void QueueMsg(dart::TextBuffer* msg);
44 static void SendQueuedMsgs(); 44 static void SendQueuedMsgs();
45 45
46 static void SendBreakpointEvent(Dart_StackTrace trace); 46 static void SendBreakpointEvent(Dart_StackTrace trace);
47 static void SendExceptionEvent(Dart_Handle exception, Dart_StackTrace trace); 47 static void SendExceptionEvent(Dart_Handle exception, Dart_StackTrace trace);
48 static void BptResolvedHandler(intptr_t bp_id, 48 static void BptResolvedHandler(intptr_t bp_id,
49 Dart_Handle url, 49 Dart_Handle url,
50 intptr_t line_number); 50 intptr_t line_number);
51 static void IsolateEventHandler(Dart_Isolate isolate, Dart_IsolateEvent kind);
51 static void BreakpointHandler(Dart_Breakpoint bpt, Dart_StackTrace trace); 52 static void BreakpointHandler(Dart_Breakpoint bpt, Dart_StackTrace trace);
52 static void ExceptionThrownHandler(Dart_Handle exception, 53 static void ExceptionThrownHandler(Dart_Handle exception,
53 Dart_StackTrace stack_trace); 54 Dart_StackTrace stack_trace);
54 55
55 static void AcceptDbgConnection(int debug_fd); 56 static void AcceptDbgConnection(int debug_fd);
56 static void WaitForConnection(); 57 static void WaitForConnection();
57 static void CloseDbgConnection(); 58 static void CloseDbgConnection();
58 59
59 static void HandleMessages(); 60 static void HandleMessages();
60 static void HandleResumeCmd(const char* msg); 61 static void HandleResumeCmd(const char* msg);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 101
101 static MessageBuffer* msgbuf_; 102 static MessageBuffer* msgbuf_;
102 103
103 friend class DebuggerConnectionImpl; 104 friend class DebuggerConnectionImpl;
104 105
105 DISALLOW_ALLOCATION(); 106 DISALLOW_ALLOCATION();
106 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler); 107 DISALLOW_IMPLICIT_CONSTRUCTORS(DebuggerConnectionHandler);
107 }; 108 };
108 109
109 #endif // BIN_DBG_CONNECTION_H_ 110 #endif // BIN_DBG_CONNECTION_H_
OLDNEW
« no previous file with comments | « no previous file | bin/dbg_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698