Index: src/debug.h |
=================================================================== |
--- src/debug.h (revision 1198) |
+++ src/debug.h (working copy) |
@@ -372,6 +372,7 @@ |
static void OnNewFunction(Handle<JSFunction> fun); |
static void ProcessDebugEvent(v8::DebugEvent event, |
Handle<Object> event_data); |
+ static void SetEventListener(Handle<Object> callback, Handle<Object> data); |
static void SetMessageHandler(v8::DebugMessageHandler handler, void* data); |
static void SendMessage(Vector<uint16_t> message); |
static void ProcessCommand(Vector<const uint16_t> command); |
@@ -397,6 +398,8 @@ |
static bool is_loading_debugger() { return Debugger::is_loading_debugger_; } |
private: |
+ static Handle<Object> event_listener_; // Global handle to listener |
+ static Handle<Object> event_listener_data_; |
static bool debugger_active_; // Are there any active debugger? |
static bool compiling_natives_; // Are we compiling natives? |
static bool is_loading_debugger_; // Are we loading the debugger? |