Index: src/debug.h |
=================================================================== |
--- src/debug.h (revision 1312) |
+++ src/debug.h (working copy) |
@@ -381,8 +381,11 @@ |
Handle<Object> event_data); |
static void SetEventListener(Handle<Object> callback, Handle<Object> data); |
static void SetMessageHandler(v8::DebugMessageHandler handler, void* data); |
+ static void SetHostDispatchHandler(v8::DebugHostDispatchHandler handler, |
+ void* data); |
static void SendMessage(Vector<uint16_t> message); |
static void ProcessCommand(Vector<const uint16_t> command); |
+ static void ProcessHostDispatch(void* dispatch); |
static void UpdateActiveDebugger(); |
static Handle<Object> Call(Handle<JSFunction> fun, |
Handle<Object> data, |
@@ -411,8 +414,12 @@ |
static bool compiling_natives_; // Are we compiling natives? |
static bool is_loading_debugger_; // Are we loading the debugger? |
static DebugMessageThread* message_thread_; |
- static v8::DebugMessageHandler debug_message_handler_; |
- static void* debug_message_handler_data_; |
+ static v8::DebugMessageHandler message_handler_; |
+ static void* message_handler_data_; |
+ static v8::DebugHostDispatchHandler host_dispatch_handler_; |
+ static void* host_dispatch_handler_data_; |
+ |
+ friend class DebugMessageThread; |
yurys
2009/02/19 14:44:18
wrong indentation
|
}; |
@@ -481,6 +488,7 @@ |
// by the API client thread. This is where the API client hands off |
// processing of the command to the DebugMessageThread thread. |
void ProcessCommand(Vector<uint16_t> command); |
+ void ProcessHostDispatch(void* dispatch); |
void OnDebuggerInactive(); |
// Main function of DebugMessageThread thread. |