MCPcopy Index your code
hub / github.com/fabioz/PyDev.Debugger / suspend_django

Function suspend_django

pydevd_plugins/django_debug.py:246–253  ·  view source on GitHub ↗
(py_db, thread, frame, cmd=CMD_SET_BREAK)

Source from the content-addressed store, hash-verified

244
245
246def 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
256def _find_django_render_frame(frame):

Callers 3

stopFunction · 0.85
suspendFunction · 0.85
exception_breakFunction · 0.85

Calls 1

set_suspendMethod · 0.45

Tested by

no test coverage detected