Missing stack frames?

Chris Angelico rosuav at gmail.com
Thu Jun 5 22:30:25 EDT 2014


On Fri, Jun 6, 2014 at 12:16 PM, Nikolaus Rath <Nikolaus at rath.org> wrote:
>  - Is there some way to make the call stack for destructors less confusing?

First off, either don't have refloops, or explicitly break them.
That'll at least make things a bit more predictable; in CPython,
you'll generally see destructors called as soon as something goes out
of scope. Secondly, avoid threads when you're debugging a problem! I
said this right at the beginning. If you run into problems, the first
thing to do is isolate the system down to a single thread. Debugging
is way easier without threads getting in each other's ways.

ChrisA



More information about the Python-list mailing list