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

Method __init__

pydevd_plugins/django_debug.py:391–399  ·  view source on GitHub ↗
(self, frame)

Source from the content-addressed store, hash-verified

389 IS_PLUGIN_FRAME = True
390
391 def __init__(self, frame):
392 original_filename = _get_template_original_file_name_from_frame(frame)
393 self._back_context = frame.f_locals["context"]
394 self.f_code = FCode("Django Template", original_filename)
395 self.f_lineno = _get_template_line(frame)
396 self.f_back = frame
397 self.f_globals = {}
398 self.f_locals = self._collect_context(self._back_context)
399 self.f_trace = None
400
401 def _collect_context(self, context):
402 res = {}

Callers 1

__init__Method · 0.45

Calls 4

_collect_contextMethod · 0.95
FCodeClass · 0.90
_get_template_lineFunction · 0.85

Tested by

no test coverage detected