summary refs log tree commit diff stats
path: root/lib/system/mmdisp.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2012-11-28 01:14:02 +0200
committerZahary Karadjov <zahary@gmail.com>2012-11-28 01:15:14 +0200
commitc67520a7c5d474be409bee98d9b258030115c259 (patch)
tree7571799e9af110f8e24f5957b7de111e3ddae8f5 /lib/system/mmdisp.nim
parenta42545ea3eecb57eea3d02c624b91c86bdaf90e6 (diff)
downloadNim-c67520a7c5d474be409bee98d9b258030115c259.tar.gz
temporary debugging code for the memory leak investigation
Diffstat (limited to 'lib/system/mmdisp.nim')
-rwxr-xr-xlib/system/mmdisp.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system/mmdisp.nim b/lib/system/mmdisp.nim
index 1abf3fbbf..97a42ed32 100755
--- a/lib/system/mmdisp.nim
+++ b/lib/system/mmdisp.nim
@@ -21,6 +21,7 @@ const
   alwaysGC = false # collect after every memory allocation (for debugging)
   leakDetector = false
   overwriteFree = false
+  trackAllocationSource = true or leakDetector
   
   cycleGC = true # (de)activate the cycle GC
   reallyDealloc = true # for debugging purposes this can be set to false