GDB only understands C code. DDB relies on, to do this, relies on debugging information inside the core. In Python 3.11, you are not even able to do it without extra metadata. There is ways to make it work but we are kind of entering the expert realm here. We've seen deadlocks on the GC Dell of a object that's defined in an extension module. And when that happens, all the Python debugger is going to tell you is absolutely nothing.