Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 00b590f3ebf0dc92d4e659a421afc88256114246..de0bd7d59253a1f26d4753cbdfb94574f329d6bf 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -3738,6 +3738,14 @@ void Debug::SetHostDispatchHandler(HostDispatchHandler handler, |
} |
+void Debug::SetDebugMessageDispatchHandler( |
+ DebugMessageDispatchHandler handler) { |
+ EnsureInitialized("v8::Debug::SetDebugMessageDispatchHandler"); |
+ ENTER_V8; |
+ i::Debugger::SetDebugMessageDispatchHandler(handler); |
+} |
+ |
+ |
Local<Value> Debug::Call(v8::Handle<v8::Function> fun, |
v8::Handle<v8::Value> data) { |
if (!i::V8::IsRunning()) return Local<Value>(); |