[Answer]-Django project not stopping at breakpoints PyDev

1πŸ‘

βœ…

I don’t see anything wrong from your report.

The one thing when everything seems to work but the debugger stops working is that if you have some infinite recursion in your code (and handle it somewhere), Python has an issue where it disables the tracing automatically (thus removing the debugger) β€” and I’ve seen it happen in a couple more occasions which had issues where the tracing would just stop because of some Python bug.

See: https://stackoverflow.com/a/9502960/110451 for such a question and check if this may be your case β€” especially the part where a tracing function (trace_func) is defined and set with sys.settrace to check if the tracing stops at some time.

Leave a comment