DescriptionDevTools: use v8::Isolate::RequestInterrupt instead of v8::Debug::DebugBreakForCommand
RequestInterrupt provides necessary primitive for implementing command queue on embedder's side. A big advantage of this approach is that we don't have to enable debugger in order to dispatch such commands and can manage them on embedder's side.
ScriptDebugServer now uses thread safe queue to store pending tasks. Although the queue is thread safe it is still caller's responsibility to make sure that ScriptDebugServer stays alive while the queue is being accessed.
BUG=468735
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192543
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 11 (4 generated)
|