Lines Matching refs:Handle
66 static BreakLocation FromFrame(Handle<DebugInfo> debug_info,
69 static void AllAtCurrentStatement(Handle<DebugInfo> debug_info,
81 bool HasBreakPoint(Isolate* isolate, Handle<DebugInfo> debug_info) const;
92 BreakLocation(Handle<AbstractCode> abstract_code, DebugBreakType type,
111 static int BreakIndexFromCodeOffset(Handle<DebugInfo> debug_info,
112 Handle<AbstractCode> abstract_code,
118 Handle<AbstractCode> abstract_code_;
130 explicit BreakIterator(Handle<DebugInfo> debug_info);
158 Handle<DebugInfo> debug_info_;
175 Handle<DebugInfo> debug_info() { return Handle<DebugInfo>(debug_info_); }
219 void OnDebugBreak(Handle<FixedArray> break_points_hit, StepAction stepAction,
223 base::Optional<Object> OnThrow(Handle<Object> exception)
225 void OnPromiseReject(Handle<Object> promise, Handle<Object> value);
226 void OnCompileError(Handle<Script> script);
227 void OnAfterCompile(Handle<Script> script);
234 void Break(JavaScriptFrame* frame, Handle<JSFunction> break_target);
237 Handle<FixedArray> GetLoadedScripts();
241 bool SetBreakpoint(Handle<SharedFunctionInfo> shared,
242 Handle<BreakPoint> break_point, int* source_position);
243 void ClearBreakPoint(Handle<BreakPoint> break_point);
249 bool SetBreakPointForScript(Handle<Script> script, Handle<String> condition,
251 bool SetBreakpointForFunction(Handle<SharedFunctionInfo> shared,
252 Handle<String> condition, int* id,
256 void SetInstrumentationBreakpointForWasmScript(Handle<Script> script,
258 void RemoveBreakpointForWasmScript(Handle<Script> script, int id);
260 void RecordWasmScriptWithBreakpoints(Handle<Script> script);
267 MaybeHandle<FixedArray> GetHitBreakPoints(Handle<DebugInfo> debug_info,
273 void PrepareStepIn(Handle<JSFunction> function);
284 void DeoptimizeFunction(Handle<SharedFunctionInfo> shared);
285 void PrepareFunctionForDebugExecution(Handle<SharedFunctionInfo> shared);
287 bool GetPossibleBreakpoints(Handle<Script> script, int start_position,
291 bool IsBlackboxed(Handle<SharedFunctionInfo> shared);
294 bool CanBreakAtEntry(Handle<SharedFunctionInfo> shared);
299 bool EnsureBreakInfo(Handle<SharedFunctionInfo> shared);
300 void CreateBreakInfo(Handle<SharedFunctionInfo> shared);
301 Handle<DebugInfo> GetOrCreateDebugInfo(Handle<SharedFunctionInfo> shared);
303 void InstallCoverageInfo(Handle<SharedFunctionInfo> shared,
304 Handle<CoverageInfo> coverage_info);
308 Handle<Object> FindInnermostContainingFunctionInfo(Handle<Script> script,
311 Handle<SharedFunctionInfo> FindClosestSharedFunctionInfoFromPosition(
312 int position, Handle<Script> script,
313 Handle<SharedFunctionInfo> outer_shared);
316 Handle<Script> script, int start_position, int end_position,
317 std::vector<Handle<SharedFunctionInfo>>* candidates);
319 static Handle<Object> GetSourceBreakLocations(
320 Isolate* isolate, Handle<SharedFunctionInfo> shared);
331 bool SetScriptSource(Handle<Script> script, Handle<String> source,
334 int GetFunctionDebuggingId(Handle<JSFunction> function);
349 void ApplySideEffectChecks(Handle<DebugInfo> debug_info);
350 void ClearSideEffectChecks(Handle<DebugInfo> debug_info);
352 bool PerformSideEffectCheck(Handle<JSFunction> function,
353 Handle<Object> receiver);
356 bool PerformSideEffectCheckForCallback(Handle<Object> callback_info,
357 Handle<Object> receiver,
360 bool PerformSideEffectCheckForObject(Handle<Object> object);
376 Handle<Object> return_value_handle();
407 void RemoveBreakInfoAndMaybeFree(Handle<DebugInfo> debug_info);
438 void OnException(Handle<Object> exception, Handle<Object> promise,
441 void ProcessCompileEvent(bool has_compile_error, Handle<Script> script);
444 int FindBreakablePosition(Handle<DebugInfo> debug_info, int source_position);
446 void ApplyBreakPoints(Handle<DebugInfo> debug_info);
448 void ClearBreakPoints(Handle<DebugInfo> debug_info);
452 void FloodWithOneShot(Handle<SharedFunctionInfo> function,
460 bool IsBreakOnInstrumentation(Handle<DebugInfo> debug_info,
462 MaybeHandle<FixedArray> CheckBreakPoints(Handle<DebugInfo> debug_info,
466 Handle<DebugInfo> debug_info, std::vector<BreakLocation>& break_locations,
475 bool CheckBreakPoint(Handle<BreakPoint> break_point, bool is_break_at_entry);
486 using DebugInfoClearFunction = std::function<void(Handle<DebugInfo>)>;
489 void FindDebugInfo(Handle<DebugInfo> debug_info, DebugInfoListNode** prev,
525 Handle<RegExpMatchInfo> regexp_match_info_;
583 Handle<WeakArrayList> wasm_scripts_with_break_points_;
595 friend Handle<FixedArray> GetDebuggedFunctions(); // In test-debug.cc
630 Handle<Object> return_value_; // Previous result.