(pydb, type, exception)
| 126 | |
| 127 | |
| 128 | def 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 | |
| 137 | def _init_plugin_breaks(pydb): |
nothing calls this directly
no test coverage detected