Hi there!

I wanted to add debugger support to my app and use d8.
I wonder if there is a step by step "add debugger support" tutorial.
So far i wasn't lucky.

I've added this to my code :

void MyApp::DispatchDebugMessage() {
Debug::ProcessDebugMessages();
}

v8::Debug::EnableAgent("MyApp", _debugPort, true);
v8::Debug::SetDebugMessageDispatchHandler(MyApp::DispatchDebugMessage, 
true);

When I start my app, it wait for a debugger connection, but it crashed at 
the first DebugMessage it received.

Do I need a Context::Scope in DispatchDebugMessage?
If so what contect should I use?
Do I need an Isolate? Locker? Unlocker?

Best regards,
Flo

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to