Index: src/debug/debug.h |
diff --git a/src/debug/debug.h b/src/debug/debug.h |
index e136eb821bddc44285b6f688550023aee6478bc9..bbc6929a524eead07318e4880a69a2b940ff4fb2 100644 |
--- a/src/debug/debug.h |
+++ b/src/debug/debug.h |
@@ -286,7 +286,7 @@ class MessageImpl : public v8::Debug::Message { |
}; |
// Details of the debug event delivered to the debug event listener. |
-class EventDetailsImpl : public debug::EventDetails { |
+class EventDetailsImpl : public v8::Debug::EventDetails { |
public: |
EventDetailsImpl(DebugEvent event, |
Handle<JSObject> exec_state, |
@@ -469,6 +469,9 @@ class Debug { |
void SetAsyncTaskListener(debug::AsyncTaskListener listener, void* data); |
void SetCompileEventListener(debug::CompileEventListener listener, |
void* data); |
+ void SetBreakEventListener(debug::BreakEventListener listener, void* data); |
+ void SetExceptionEventListener(debug::ExceptionEventListener listener, |
+ void* data); |
// Returns whether the operation succeeded. Compilation can only be triggered |
// if a valid closure is passed as the second argument, otherwise the shared |
@@ -683,6 +686,10 @@ class Debug { |
void* async_task_listener_data_ = nullptr; |
debug::CompileEventListener compile_event_listener_ = nullptr; |
void* compile_event_listener_data_ = nullptr; |
+ debug::BreakEventListener break_event_listener_ = nullptr; |
+ void* break_event_listener_data_ = nullptr; |
+ debug::ExceptionEventListener exception_event_listener_ = nullptr; |
+ void* exception_event_listener_data_ = nullptr; |
static const int kQueueInitialSize = 4; |
base::Semaphore command_received_; // Signaled for each command received. |