enable a additional GDI_DEBUG backtraces
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 15 Mar 2008 00:10:27 +0000 (00:10 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 15 Mar 2008 00:10:27 +0000 (00:10 +0000)
svn path=/trunk/; revision=32684

reactos/subsystems/win32/win32k/objects/gdiobj.c

index b54a954..4d1c61b 100644 (file)
@@ -313,12 +313,12 @@ CaptureStackBackTace(PVOID* pFrames, ULONG nFramesToCapture)
 #define GDIDBG_TRACECALLER() \
   DPRINT1("-> called from:\n"); \
   KeRosDumpStackFrames(NULL, 20);
-#define GDIDBG_TRACEALLOCATOR(index)
-//  DPRINT1("-> allocated from:\n");
-//  KeRosDumpStackFrames(GDIHandleAllocator[index], GDI_STACK_LEVELS);
-#define GDIDBG_TRACELOCKER(index)
-//  DPRINT1("-> locked from:\n");
-//  KeRosDumpStackFrames(GDIHandleLocker[index], GDI_STACK_LEVELS);
+#define GDIDBG_TRACEALLOCATOR(index) \
+  DPRINT1("-> allocated from:\n"); \
+  KeRosDumpStackFrames(GDIHandleAllocator[index], GDI_STACK_LEVELS);
+#define GDIDBG_TRACELOCKER(index) \
+  DPRINT1("-> locked from:\n"); \
+  KeRosDumpStackFrames(GDIHandleLocker[index], GDI_STACK_LEVELS);
 #define GDIDBG_CAPTUREALLOCATOR(index) \
   CaptureStackBackTace((PVOID*)GDIHandleAllocator[index], GDI_STACK_LEVELS);
 #define GDIDBG_CAPTURELOCKER(index) \