152 typedef void (*MessageHandler)(
const Message& message);
157 typedef void (*DebugMessageDispatchHandler)();
159 static bool SetDebugEventListener(EventCallback that,
164 static void DebugBreak(
Isolate* isolate);
168 static void CancelDebugBreak(
Isolate* isolate);
171 static bool CheckDebugBreak(
Isolate* isolate);
181 static void SetMessageHandler(MessageHandler handler);
183 static void SendCommand(
Isolate* isolate,
184 const uint16_t* command,
int length,
244 static void ProcessDebugMessages();
260 static void SetLiveEditEnabled(
Isolate* isolate,
bool enable);
A client object passed to the v8 debugger whose ownership will be taken by it.
An event details object passed to the debug event listener.
virtual Handle< Context > GetEventContext() const =0
Get the context active when the debug event happened.
virtual Handle< Value > GetCallbackData() const =0
Client data passed with the corresponding callback when it was registered.
virtual Handle< Object > GetExecutionState() const =0
Access to execution state and event data of the debug event.
virtual DebugEvent GetEvent() const =0
Event type.
virtual ClientData * GetClientData() const =0
Client data passed to DebugBreakForCommand function.
virtual Handle< Object > GetEventData() const =0
A message object passed to the debug message handler.
virtual bool IsResponse() const =0
virtual Handle< Context > GetEventContext() const =0
Get the context active when the debug event happened.
virtual bool IsEvent() const =0
Check type of message.
virtual Handle< String > GetJSON() const =0
Get the debugger protocol JSON.
virtual Isolate * GetIsolate() const =0
virtual DebugEvent GetEvent() const =0
virtual Handle< Object > GetEventData() const =0
virtual Handle< Object > GetExecutionState() const =0
Access to execution state and event data.
virtual ClientData * GetClientData() const =0
Client data passed with the corresponding request if any.
virtual bool WillStartRunning() const =0
Indicate whether this is a response to a continue command which will start the VM running after this ...
Create new error objects by calling the corresponding error object constructor with the message.
An object reference managed by the v8 garbage collector.
Isolate represents an isolated instance of the V8 engine.
A light-weight stack-allocated object handle.
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be NULL
Debugger support for the V8 JavaScript engine.