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

Function _get_jinja2_template_line

pydevd_plugins/jinja2_debug.py:309–320  ·  view source on GitHub ↗
(frame)

Source from the content-addressed store, hash-verified

307
308
309def _get_jinja2_template_line(frame):
310 debug_info = _get_jinja2_template_debug_info(frame)
311 if debug_info is None:
312 return None
313
314 lineno = frame.f_lineno
315
316 for pair in debug_info:
317 if pair[1] == lineno:
318 return pair[0]
319
320 return None
321
322
323def _convert_to_str(s):

Callers 2

__init__Method · 0.85
get_breakpointFunction · 0.85

Calls 1

Tested by

no test coverage detected