(pydb, type, exception)
| 83 | |
| 84 | |
| 85 | def 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 | |
| 94 | def _init_plugin_breaks(pydb): |
nothing calls this directly
no test coverage detected