From f7060e27768c550ace7ec48ad8c093466db52dfa Mon Sep 17 00:00:00 2001 From: Leon Clarke Date: Thu, 3 Jun 2010 12:02:55 +0100 Subject: Update V8 to r4730 as required by WebKit r60469 --- src/debug.h | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'src/debug.h') diff --git a/src/debug.h b/src/debug.h index e7ac94e3..e2eecb8b 100644 --- a/src/debug.h +++ b/src/debug.h @@ -524,6 +524,27 @@ class MessageImpl: public v8::Debug::Message { }; +// Details of the debug event delivered to the debug event listener. +class EventDetailsImpl : public v8::Debug::EventDetails { + public: + EventDetailsImpl(DebugEvent event, + Handle exec_state, + Handle event_data, + Handle callback_data); + virtual DebugEvent GetEvent() const; + virtual v8::Handle GetExecutionState() const; + virtual v8::Handle GetEventData() const; + virtual v8::Handle GetEventContext() const; + virtual v8::Handle GetCallbackData() const; + private: + DebugEvent event_; // Debug event causing the break. + Handle exec_state_; // Current execution state. + Handle event_data_; // Data associated with the event. + Handle callback_data_; // User data passed with the callback when + // it was registered. +}; + + // Message send by user to v8 debugger or debugger output message. // In addition to command text it may contain a pointer to some user data // which are expected to be passed along with the command reponse to message @@ -693,8 +714,9 @@ class Debugger { static void set_loading_debugger(bool v) { is_loading_debugger_ = v; } static bool is_loading_debugger() { return Debugger::is_loading_debugger_; } - private: static bool IsDebuggerActive(); + + private: static void ListenersChanged(); static Mutex* debugger_access_; // Mutex guarding debugger variables. -- cgit v1.2.3