summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Debug.py
diff options
context:
space:
mode:
authorTom Tanner <ttanner2@bloomberg.net>2013-10-30 12:33:19 (GMT)
committerTom Tanner <ttanner2@bloomberg.net>2013-10-30 12:33:19 (GMT)
commit7fdab2a7cae767172f4dcea67c3ab4d1a37926e2 (patch)
tree005ece6f3e371cee63e68bf070447c245592d6ed /src/engine/SCons/Debug.py
parent91020237d64f53b2fa6e2b5bf155a1d8bfbdb547 (diff)
parente38f59cab5d40f09f15c5e65645aa2d8af165c66 (diff)
downloadSCons-7fdab2a7cae767172f4dcea67c3ab4d1a37926e2.zip
SCons-7fdab2a7cae767172f4dcea67c3ab4d1a37926e2.tar.gz
SCons-7fdab2a7cae767172f4dcea67c3ab4d1a37926e2.tar.bz2
Merged scons/scons into default
Diffstat (limited to 'src/engine/SCons/Debug.py')
-rw-r--r--src/engine/SCons/Debug.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/SCons/Debug.py b/src/engine/SCons/Debug.py
index 1c0c638..9974039 100644
--- a/src/engine/SCons/Debug.py
+++ b/src/engine/SCons/Debug.py
@@ -35,6 +35,10 @@ import sys
import time
import weakref
+# Global variable that gets set to 'True' by the Main script,
+# when the creation of class instances should get tracked.
+track_instances = False
+# List of currently tracked classes
tracked_classes = {}
def logInstanceCreation(instance, name=None):