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

Function add_exception_breakpoint

pydevd_plugins/django_debug.py:128–134  ·  view source on GitHub ↗
(pydb, type, exception)

Source from the content-addressed store, hash-verified

126
127
128def add_exception_breakpoint(pydb, type, exception):
129 if type == "django":
130 if not hasattr(pydb, "django_exception_break"):
131 _init_plugin_breaks(pydb)
132 pydb.django_exception_break[exception] = True
133 return True
134 return False
135
136
137def _init_plugin_breaks(pydb):

Callers

nothing calls this directly

Calls 1

_init_plugin_breaksFunction · 0.70

Tested by

no test coverage detected