diff options
author | Zahary Karadjov <zahary@gmail.com> | 2012-11-28 01:14:02 +0200 |
---|---|---|
committer | Zahary Karadjov <zahary@gmail.com> | 2012-11-28 01:15:14 +0200 |
commit | c67520a7c5d474be409bee98d9b258030115c259 (patch) | |
tree | 7571799e9af110f8e24f5957b7de111e3ddae8f5 /lib/system/mmdisp.nim | |
parent | a42545ea3eecb57eea3d02c624b91c86bdaf90e6 (diff) | |
download | Nim-c67520a7c5d474be409bee98d9b258030115c259.tar.gz |
temporary debugging code for the memory leak investigation
Diffstat (limited to 'lib/system/mmdisp.nim')
-rwxr-xr-x | lib/system/mmdisp.nim | 1 |
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 |