(py_db, thread, frame, cmd=CMD_SET_BREAK)
| 244 | |
| 245 | |
| 246 | def suspend_django(py_db, thread, frame, cmd=CMD_SET_BREAK): |
| 247 | if frame.f_lineno is None: |
| 248 | return None |
| 249 | |
| 250 | py_db.set_suspend(thread, cmd) |
| 251 | thread.additional_info.suspend_type = DJANGO_SUSPEND |
| 252 | |
| 253 | return frame |
| 254 | |
| 255 | |
| 256 | def _find_django_render_frame(frame): |
no test coverage detected