Lines Matching refs:frame
115 JavaScriptFrame* frame) {
119 auto summary = FrameSummary::GetTop(frame).AsJavaScript();
157 Handle<DebugInfo> debug_info, JavaScriptFrame* frame,
160 auto summary = FrameSummary::GetTop(frame).AsJavaScript();
178 JavaScriptFrame* frame) const {
182 Object generator_obj = UnoptimizedFrame::cast(frame)->ReadInterpreterRegister(
349 // interpreter stack frame in GetGeneratorObjectForSuspendedFrame.
423 // Set frame to what it was at Step break
424 thread_local_.break_frame_id_ = frames_it.frame()->id();
490 void Debug::Break(JavaScriptFrame* frame, Handle<JSFunction> break_target) {
507 BreakLocation location = BreakLocation::FromFrame(debug_info, frame);
536 DCHECK_NOT_NULL(frame);
562 // StepOut should not break in a deeper frame than target frame.
567 // StepOver should not break in a deeper frame than target frame.
580 location.GetGeneratorObjectForSuspendedFrame(frame);
585 FrameSummary summary = FrameSummary::GetTop(frame);
654 bool Debug::IsMutedAtCurrentLocation(JavaScriptFrame* frame) {
664 GetHitBreakpointsAtCurrentStatement(frame, &has_break_points);
669 JavaScriptFrame* frame, bool* has_break_points) {
671 FrameSummary summary = FrameSummary::GetTop(frame);
681 BreakLocation::AllAtCurrentStatement(debug_info, frame, &break_locations);
705 // Since we call CheckBreakpoint only for deoptimized frame on top of stack,
706 // we can use 0 as index of inlined frame.
1113 JavaScriptFrame* frame = it.frame();
1114 if (frame->LookupExceptionHandlerInTable(nullptr, nullptr) > 0) break;
1116 frame->GetFunctions(&infos);
1125 // Iterate frames, including inlined frames. First, find the handler frame.
1126 // Then skip to the frame we want to break in, then instrument for stepping.
1128 JavaScriptFrame* frame = JavaScriptFrame::cast(it.frame());
1130 // Deoptimize frame to ensure calls are checked for step-in.
1131 Deoptimizer::DeoptimizeFunction(frame->function());
1134 frame->Summarize(&summaries);
1138 // We have yet to find the handler. If the frame inlines multiple
1156 // iterate until we found the suitable target frame to break in.
1177 // Get the frame where the execution has stopped and skip the debug frame if
1178 // any. The debug frame will only be present if execution was stopped due to
1180 // debug frame is not present.
1190 CommonFrame* frame = frames_it.frame();
1196 if (frame->is_java_script()) {
1197 JavaScriptFrame* js_frame = JavaScriptFrame::cast(frame);
1201 auto summary = FrameSummary::GetTop(frame).AsJavaScript();
1240 } else if (frame->is_wasm() && step_action != StepOut) {
1242 WasmFrame* wasm_frame = WasmFrame::cast(frame);
1249 // (indicated by {PrepareStep} returning false), then step out of that frame
1290 // Skip the current frame, find the first frame we want to step out to
1291 // and deoptimize every frame along the way.
1295 if (frames_it.frame()->is_wasm()) {
1301 WasmFrame* wasm_frame = WasmFrame::cast(frames_it.frame());
1307 JavaScriptFrame* js_frame = JavaScriptFrame::cast(frames_it.frame());
1309 // Deoptimize frame to ensure calls are checked for step-in.
1319 // We want to step out, so skip the current frame.
1412 if (!deopt_all && it.frame()->function().shared() != shared_) continue;
1413 if (it.frame()->type() == StackFrame::BASELINE) {
1414 BaselineFrame* frame = BaselineFrame::cast(it.frame());
1415 int bytecode_offset = frame->GetBytecodeOffset();
1416 Address* pc_addr = frame->pc_address();
1422 } else if (it.frame()->type() == StackFrame::INTERPRETED) {
1427 JavaScriptFrame* frame = it.frame();
1428 Address pc = frame->pc();
1432 Address* pc_addr = frame->pc_address();
2072 bool Debug::IsBreakAtReturn(JavaScriptFrame* frame) {
2077 Handle<SharedFunctionInfo> shared(frame->function().shared(), isolate_);
2082 DCHECK(!frame->is_optimized());
2084 BreakLocation location = BreakLocation::FromFrame(debug_info, frame);
2156 // caught exception if top frame is blackboxed.
2167 bool Debug::IsFrameBlackboxed(JavaScriptFrame* frame) {
2171 frame->GetFunctions(&infos);
2224 // Check whether the top frame is blackboxed or the break location is muted.
2225 if (!it.done() && (IsMutedAtCurrentLocation(it.frame()) ||
2429 // Skip to break frame.
2431 while (!it.done() && it.frame()->id() != break_frame_id()) it.Advance();
2490 Object fun = it.frame()->function();
2506 BreakLocation::AllAtCurrentStatement(debug_info, it.frame(),
2547 CommonFrame* frame = iterator.frame();
2549 frame->Summarize(&frames);
2551 FrameInspector inspector(frame, inlined_frame_index, isolate_);
2592 // Store the previous frame id and return value.
2596 // frame id.
2600 has_frames ? it.frame()->id() : StackFrameId::NO_ID;
2842 bool Debug::PerformSideEffectCheckAtBytecode(InterpretedFrame* frame) {
2847 SharedFunctionInfo shared = frame->function().shared();
2849 int offset = frame->GetBytecodeOffset();
2876 handle(frame->ReadInterpreterRegister(reg.index()), isolate_);