(py_db, canonical_normalized_filename, id_to_pybreakpoint, file_to_line_to_breakpoints)
| 110 | |
| 111 | |
| 112 | def after_breakpoints_consolidated(py_db, canonical_normalized_filename, id_to_pybreakpoint, file_to_line_to_breakpoints): |
| 113 | if IS_DJANGO19_OR_HIGHER: |
| 114 | django_breakpoints_for_file = file_to_line_to_breakpoints.get(canonical_normalized_filename) |
| 115 | if not django_breakpoints_for_file: |
| 116 | return |
| 117 | |
| 118 | if not hasattr(py_db, "django_validation_info"): |
| 119 | _init_plugin_breaks(py_db) |
| 120 | |
| 121 | # In general we validate the breakpoints only when the template is loaded, but if the template |
| 122 | # was already loaded, we can validate the breakpoints based on the last loaded value. |
| 123 | py_db.django_validation_info.verify_breakpoints_from_template_cached_lines( |
| 124 | py_db, canonical_normalized_filename, django_breakpoints_for_file |
| 125 | ) |
| 126 | |
| 127 | |
| 128 | def add_exception_breakpoint(pydb, type, exception): |
nothing calls this directly
no test coverage detected