Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index dc9f2974f7286d64fc603890a669ebe5a2ce33f5..88149d89390248aa1207a17d90f0de15e817f81a 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -2621,7 +2621,8 @@ void Debugger::CallCEventCallback(v8::DebugEvent event, |
v8::Debug::ClientData* client_data) { |
Handle<Foreign> callback_obj(Handle<Foreign>::cast(event_listener_)); |
v8::Debug::EventCallback2 callback = |
- FUNCTION_CAST<v8::Debug::EventCallback2>(callback_obj->address()); |
+ FUNCTION_CAST<v8::Debug::EventCallback2>( |
+ callback_obj->foreign_address()); |
EventDetailsImpl event_details( |
event, |
Handle<JSObject>::cast(exec_state), |