recursion limit exceeded in Python API, but there's only one function in traceback
Ömer Sinan Ağacan
omeragacan@gmail.com
Fri Oct 17 09:31:00 GMT 2014
I'm still having this problem. I just tried this:
def handler():
gdb.execute("continue")
print "continue returned"
This doesn't print anything, until the script fails with "maximum
recursion depth". Then it prints lots of "continue returned" lines.
So the problem is `gdb.execute` doesn't immediately return and that's
causing Python stack to grow, because GDB is calling this function
without returning anything to previous calls.
I think I need a version of `gdb.execute` that returns immediately.
ie. async version or something like that. Is such a thing possible?
Thanks again.
More information about the Gdb
mailing list