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

Function can_skip

pydevd_plugins/django_debug.py:462–474  ·  view source on GitHub ↗
(py_db, frame)

Source from the content-addressed store, hash-verified

460
461
462def can_skip(py_db, frame):
463 if py_db.django_breakpoints:
464 if _is_django_render_call(frame):
465 return False
466
467 if py_db.django_exception_break:
468 module_name = frame.f_globals.get("__name__", "")
469
470 if module_name == "django.template.base":
471 # Exceptions raised at django.template.base must be checked.
472 return False
473
474 return True
475
476
477is_tracked_frame = _is_django_render_call

Callers

nothing calls this directly

Calls 2

_is_django_render_callFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected