what is gc.set_debug() for

H

Humpty Dumpty

Hello, I read the docs for gc module and did search with google. It's not
clear what gc.set_debug(DEBUG_LEAK) is for, though it is recommended to
diagnose mem leaks. There are 3 or 4 discussions that come up with google
that call gc.set_debug(), but when I take that line out I don't see any
difference. I.e., there's no extra info printed when garbage is collected,
when gc.garbage examined, etc, I'm assuming it's something along those lines
that debug level should do, but am dumbfounded. Thanks in advance for any
help.

Oliver
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,201
Messages
2,571,049
Members
47,652
Latest member
Campbellamy

Latest Threads

Top