MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / cmd_step_over

Function cmd_step_over

pydevd_plugins/django_debug.py:511–524  ·  view source on GitHub ↗
(py_db, frame, event, info, thread, stop_info, stop)

Source from the content-addressed store, hash-verified

509
510
511def cmd_step_over(py_db, frame, event, info, thread, stop_info, stop):
512 plugin_stop = False
513 if _is_django_suspended(thread):
514 plugin_stop = stop_info["django_stop"] = event == "call" and _is_django_render_call(frame)
515 stop = False
516 return stop, plugin_stop
517 else:
518 if event == "return" and info.pydev_django_resolve_frame and _is_django_resolve_call(frame.f_back):
519 # we return to Django suspend mode and should not stop before django rendering frame
520 info.pydev_step_stop = frame.f_back
521 info.pydev_django_resolve_frame = False
522 thread.additional_info.suspend_type = DJANGO_SUSPEND
523 stop = info.pydev_step_stop is frame and event in ("line", "return")
524 return stop, plugin_stop
525
526
527def stop(py_db, frame, event, thread, stop_info, arg, step_cmd):

Callers

nothing calls this directly

Calls 3

_is_django_suspendedFunction · 0.85
_is_django_render_callFunction · 0.85
_is_django_resolve_callFunction · 0.85

Tested by

no test coverage detected