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

Function add_exception_breakpoint

pydevd_plugins/jinja2_debug.py:85–91  ·  view source on GitHub ↗
(pydb, type, exception)

Source from the content-addressed store, hash-verified

83
84
85def add_exception_breakpoint(pydb, type, exception):
86 if type == "jinja2":
87 if not hasattr(pydb, "jinja2_exception_break"):
88 _init_plugin_breaks(pydb)
89 pydb.jinja2_exception_break[exception] = True
90 return True
91 return False
92
93
94def _init_plugin_breaks(pydb):

Callers

nothing calls this directly

Calls 1

_init_plugin_breaksFunction · 0.70

Tested by

no test coverage detected