Ben, In v8 4.6.88, I can no longer find src/debug-debugger.js, nor src/{liveedit,mirror}-debugger.js. Does it mean that the function-based API is also deprecated and removed?
Jane On Saturday, March 14, 2015 at 3:53:55 AM UTC-7, Ben Noordhuis wrote: > > On Sat, Mar 14, 2015 at 8:30 AM, Deguo Meng <meng...@gmail.com > <javascript:>> 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.