Lines Matching refs:Handle
70 static BreakLocation FromFrame(Handle<DebugInfo> debug_info,
73 static void AllAtCurrentStatement(Handle<DebugInfo> debug_info,
87 bool HasBreakPoint(Handle<DebugInfo> debug_info) const;
92 BreakLocation(Handle<AbstractCode> abstract_code, DebugBreakType type,
101 static int BreakIndexFromCodeOffset(Handle<DebugInfo> debug_info,
102 Handle<AbstractCode> abstract_code,
108 Handle<AbstractCode> abstract_code_;
120 Handle<DebugInfo> debug_info, Handle<AbstractCode> abstract_code);
142 explicit BreakIterator(Handle<DebugInfo> debug_info);
148 Handle<DebugInfo> debug_info_;
160 explicit CodeBreakIterator(Handle<DebugInfo> debug_info);
192 explicit BytecodeArrayBreakIterator(Handle<DebugInfo> debug_info);
223 Handle<DebugInfo> debug_info() { return Handle<DebugInfo>(debug_info_); }
226 // Global (weak) handle to the debug info object.
255 // This class contains the debugger support. The main purpose is to handle
265 void OnDebugBreak(Handle<Object> break_points_hit);
267 void OnThrow(Handle<Object> exception);
268 void OnPromiseReject(Handle<Object> promise, Handle<Object> value);
269 void OnCompileError(Handle<Script> script);
270 void OnAfterCompile(Handle<Script> script);
274 MUST_USE_RESULT MaybeHandle<Object> Call(Handle<Object> fun,
275 Handle<Object> data);
276 Handle<Context> GetDebugContext();
284 Handle<FixedArray> GetLoadedScripts();
287 bool SetBreakPoint(Handle<JSFunction> function,
288 Handle<Object> break_point_object,
290 bool SetBreakPointForScript(Handle<Script> script,
291 Handle<Object> break_point_object,
294 void ClearBreakPoint(Handle<Object> break_point_object);
300 // Returns an empty handle if no breakpoint is hit, or a FixedArray with all
303 Handle<Object> break_point_objects);
307 void PrepareStepIn(Handle<JSFunction> function);
313 bool PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared);
314 bool GetPossibleBreakpoints(Handle<Script> script, int start_position,
317 void RecordGenerator(Handle<JSGeneratorObject> generator_object);
319 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise,
320 Handle<Object> parent);
322 int NextAsyncTaskId(Handle<JSObject> promise);
324 bool IsBlackboxed(Handle<SharedFunctionInfo> shared);
329 bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared);
330 void CreateDebugInfo(Handle<SharedFunctionInfo> shared);
331 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared);
337 Handle<Object> FindSharedFunctionInfoInScript(Handle<Script> script,
340 static Handle<Object> GetSourceBreakLocations(
341 Handle<SharedFunctionInfo> shared,
370 bool PerformSideEffectCheck(Handle<JSFunction> function);
378 inline Handle<Context> debug_context() { return debug_context_; }
396 Handle<Object> return_value_handle() {
397 return handle(thread_local_.return_value_, isolate_);
457 void OnException(Handle<Object> exception, Handle<Object> promise);
462 Handle<Object> break_points_hit);
464 Handle<Object> exception,
466 Handle<Object> promise);
468 Handle<Script> script, v8::DebugEvent type);
472 void ProcessCompileEvent(v8::DebugEvent event, Handle<Script> script);
473 void ProcessDebugEvent(v8::DebugEvent event, Handle<JSObject> event_data);
476 int FindBreakablePosition(Handle<DebugInfo> debug_info, int source_position,
479 void ApplyBreakPoints(Handle<DebugInfo> debug_info);
481 void ClearBreakPoints(Handle<DebugInfo> debug_info);
485 void FloodWithOneShot(Handle<SharedFunctionInfo> function);
490 void RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info);
491 MaybeHandle<FixedArray> CheckBreakPoints(Handle<DebugInfo> debug_info,
495 bool CheckBreakPoint(Handle<Object> break_point_object);
497 Handle<Object> args[]);
509 Handle<Context> debug_context_;
592 friend Handle<FixedArray> GetDebuggedFunctions(); // In test-debug.cc
622 void ProcessDebugEvent(v8::DebugEvent event, Handle<JSObject> event_data);
624 Handle<JSObject> event_data,
625 Handle<JSObject> exec_state) = 0;
630 JavaScriptDebugDelegate(Isolate* isolate, Handle<JSFunction> listener,
631 Handle<Object> data);
635 void ProcessDebugEvent(v8::DebugEvent event, Handle<JSObject> event_data,
636 Handle<JSObject> exec_state) override;
638 Handle<JSFunction> listener_;
639 Handle<Object> data_;
645 Handle<Object> data);
652 EventDetails(DebugEvent event, Handle<JSObject> exec_state,
653 Handle<JSObject> event_data, Handle<Object> callback_data);
664 Handle<JSObject> exec_state_; // Current execution state.
665 Handle<JSObject> event_data_; // Data associated with the event.
666 Handle<Object> callback_data_; // User data passed with the callback
670 void ProcessDebugEvent(v8::DebugEvent event, Handle<JSObject> event_data,
671 Handle<JSObject> exec_state) override;
674 Handle<Object> data_;
689 inline Handle<Context> GetContext() { return save_.context(); }
703 // This scope is used to handle return values in nested debug break points.
714 Handle<Object> return_value_; // Previous result.
783 // Builtin to atomically (wrt deopts) handle debugger statement and
788 Handle<Code> code);