Lines Matching refs:v8
1 // Copyright 2008 the V8 project authors. All rights reserved.
31 #include "v8.h"
39 // Setup for Windows DLL export/import. See v8.h in this directory for
40 // information on how to build/use V8 as a DLL.
56 // Setup for Linux shared library export. See v8.h in this directory for
57 // information on how to build/use V8 as shared library.
68 * Debugger support for the V8 JavaScript engine.
70 namespace v8 {
72 // Debug events which can occur in the V8 JavaScript engine.
87 * A client object passed to the v8 debugger whose ownership will be taken by
88 * it. v8 is always responsible for deleting the object.
254 static bool SetDebugEventListener(v8::Handle<v8::Object> that,
294 * processed V8 needs to be entered, and in certain embedding scenarios this
295 * callback can be used to make sure V8 is entered for the debug message to
297 * a V8 break. This can happen automatically by using the option
299 * \param provide_locker requires that V8 acquires v8::Locker for you before
315 * v8::Debug::Call will return the current line of JavaScript execution.
323 static Local<Value> Call(v8::Handle<v8::Function> fun,
329 static Local<Value> GetMirror(v8::Handle<v8::Value> obj);
332 * Enable the V8 builtin debug agent. The debugger agent will listen on the
336 * \param wait_for_connection whether V8 should pause on a first statement
343 * Disable the V8 builtin debug agent. The TCP/IP connection will be closed.
348 * Makes V8 process all pending debug messages.
350 * From V8 point of view all debug messages come asynchronously (e.g. from
351 * remote debugger) but they all must be handled synchronously: V8 cannot
355 * Generally when message arrives V8 may be in one of 3 states:
356 * 1. V8 is running script; V8 will automatically interrupt and process all
358 * 2. V8 is suspended on debug breakpoint; in this state V8 is dedicated
360 * 3. V8 is not running at all or has called some long-working C++ function;
362 * until V8 gets control again; however, embedding application may improve
366 * V8 is not already running. Method v8::Debug::SetDebugMessageDispatchHandler
373 * as V8 script would be invoked from, because:
376 * b. no other thread should call V8 while this method is running
377 * (v8::Locker may be used here).
394 } // namespace v8