(py_db, canonical_normalized_filename, id_to_pybreakpoint, file_to_line_to_breakpoints)
| 68 | |
| 69 | |
| 70 | def after_breakpoints_consolidated(py_db, canonical_normalized_filename, id_to_pybreakpoint, file_to_line_to_breakpoints): |
| 71 | jinja2_breakpoints_for_file = file_to_line_to_breakpoints.get(canonical_normalized_filename) |
| 72 | if not jinja2_breakpoints_for_file: |
| 73 | return |
| 74 | |
| 75 | if not hasattr(py_db, "jinja2_validation_info"): |
| 76 | _init_plugin_breaks(py_db) |
| 77 | |
| 78 | # In general we validate the breakpoints only when the template is loaded, but if the template |
| 79 | # was already loaded, we can validate the breakpoints based on the last loaded value. |
| 80 | py_db.jinja2_validation_info.verify_breakpoints_from_template_cached_lines( |
| 81 | py_db, canonical_normalized_filename, jinja2_breakpoints_for_file |
| 82 | ) |
| 83 | |
| 84 | |
| 85 | def add_exception_breakpoint(pydb, type, exception): |
nothing calls this directly
no test coverage detected