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.
253 static bool SetDebugEventListener(v8::Handle<v8::Object> that,
293 * processed V8 needs to be entered, and in certain embedding scenarios this
294 * callback can be used to make sure V8 is entered for the debug message to
296 * a V8 break. This can happen automatically by using the option
298 * \param provide_locker requires that V8 acquires v8::Locker for you before
314 * v8::Debug::Call will return the current line of JavaScript execution.
322 static Local<Value> Call(v8::Handle<v8::Function> fun,
328 static Local<Value> GetMirror(v8::Handle<v8::Value> obj);
331 * Enable the V8 builtin debug agent. The debugger agent will listen on the
335 * \param wait_for_connection whether V8 should pause on a first statement
342 * Makes V8 process all pending debug messages.
344 * From V8 point of view all debug messages come asynchronously (e.g. from
345 * remote debugger) but they all must be handled synchronously: V8 cannot
349 * Generally when message arrives V8 may be in one of 3 states:
350 * 1. V8 is running script; V8 will automatically interrupt and process all
352 * 2. V8 is suspended on debug breakpoint; in this state V8 is dedicated
354 * 3. V8 is not running at all or has called some long-working C++ function;
356 * until V8 gets control again; however, embedding application may improve
360 * V8 is not already running. Method v8::Debug::SetDebugMessageDispatchHandler
367 * as V8 script would be invoked from, because:
370 * b. no other thread should call V8 while this method is running
371 * (v8::Locker may be used here).
388 } // namespace v8