http://codereview.chromium.org/2962007/diff/7001/9 File include/v8-debug.h (right):
http://codereview.chromium.org/2962007/diff/7001/9#newcode263 include/v8-debug.h:263: static void DebugBreakForCommand(ClientData* data = NULL); You will end up processing a series of indistinguishable BreakForCommand events if you call DebugBreakForCommand several times in row with NULL argument. But probably that's fine. http://codereview.chromium.org/2962007/diff/7001/11 File src/debug.cc (right): http://codereview.chromium.org/2962007/diff/7001/11#newcode2234 src/debug.cc:2234: if (event == v8::Break) { This command will be processed in NotifyMessageHandler above if there is a message_handler_. I'd recommend you use separate queue that would store DebugBreak requests. http://codereview.chromium.org/2962007/show -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
