On Sat, Mar 14, 2015 at 8:30 AM, Deguo Meng <mengde...@gmail.com> wrote:
> HI all ,
>         Page  https://code.google.com/p/v8-wiki/wiki/DebuggerProtocol shows
> the JSON based debug protocol. But it also reads that there's another
> function based API using JavaScript objects, Is there any materials
> introduce the function base API ? How to use it? what's the main object and
> what's the main API ?
>
> Big thanks
>
> BR

You can get access to the global Debug object when you start d8 with
--expose_debug_as=Debug or programmatically by executing scripts in
the debug context with v8::Debug::GetDebugContext() from
include/v8-debug.h.

It's undocumented but the definition (and implementation) of the debug
functions you can find in src/debug-debugger.js and, to a lesser
extent, src/{liveedit,mirror}-debugger.js and various C++ files.

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
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 v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to