Debugger not working

I updated my python version and when I try to debug it creates “RecursionError: maximum recursion depth exceeded while calling a Python object” even for simple for loop.
any idea how to solve it?

You’ll have to include your code in order for us to be able to diagnose your issue in any meaningful way. Please use markdown to highlight the code:

code here

But, if there’s a specific reason why you’re needing to use over 1000 layers deep of recursion (typically, there’s no need to, and it’s often an indication that you’re doing something wrong if you hit it), you can modify it above the default using sys.setrecursionlimit().