Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

set_debug

import gc

gc.set_debug(gc.DEBUG_STATS|gc.DEBUG_LEAK|gc.DEBUG_UNCOLLECTABLE)

#Flags
# gc.DEBUG_STATS
# gc.DEBUG_COLLECTABLE
# gc.DEBUG_UNCOLLECTABLE
# gc.DEBUG_SAVEALL
# gc.DEBUG_LEAK
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+3 =