If this isn't the right place to ask this kind of question, can anyone
suggest a better place?
Thanks,
jjb

On May 23, 9:25 am, johnjbarton <[email protected]> wrote:
> What happens when a remote debugger running as a content script uses
> addEventListener to attach its function for DOM Mutation event (or any
> other I guess) then sends a debug message to V8 ?
>
> In this case V8 is running JS (the remote debugger) in a thread C++
> (the dispatch event logic). According 
> tohttp://v8.googlecode.com/svn/trunk/include/v8-debug.h,
> V8 will interrupt the JS and handle the message. But what should the
> content-script remote debugger be doing? It sent an async request but
> it does not want to return to the caller (the event dispatch). It
> wants to query V8 and present results in its UI.  (In mozilla there is
> a nested event loop call to handle this case).
>
> jjb
>
> --
> v8-users mailing list
> [email protected]http://groups.google.com/group/v8-users

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to