From 0eafc68a13198410000e8369d0264beed4dd71ef Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 4 Mar 2015 12:45:06 -0800 Subject: [PATCH] debug msg helper --- Mem.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Mem.cpp b/Mem.cpp index 7ad90b06..4b7dcadd 100644 --- a/Mem.cpp +++ b/Mem.cpp @@ -674,7 +674,14 @@ void Mem::addMem ( void *mem , int32_t size , const char *note , char isnew ) { s_labels[h*16+5] == 'M' ) goto skipMe; log("mem: addMem: Mem already added. " - "rmMem not called?"); + "rmMem not called? label=%c%c%c%c%c%c" + ,s_labels[h*16+0] + ,s_labels[h*16+1] + ,s_labels[h*16+2] + ,s_labels[h*16+3] + ,s_labels[h*16+4] + ,s_labels[h*16+5] + ); char *xx = NULL; *xx = 0; //sleep(50000); } h++;