[CRT]
authorGabriel Ilardi <gabrielilardi@hotmail.it>
Fri, 16 Jul 2010 13:00:02 +0000 (13:00 +0000)
committerGabriel Ilardi <gabrielilardi@hotmail.it>
Fri, 16 Jul 2010 13:00:02 +0000 (13:00 +0000)
Add a debug print to help bugs like 5486.

svn path=/trunk/; revision=48078

reactos/lib/sdk/crt/misc/assert.c

index c0f4d8b..f248c8e 100644 (file)
@@ -12,6 +12,7 @@ void _assert(const char *msg, const char *file, unsigned line)
 {
   /* Assertion failed at foo.c line 45: x<y */
   fprintf(stderr, "Assertion failed at %s line %d: %s\n", file, line, msg);
+  DPRINT1("Assertion failed at %s line %d: %s\n", file, line, msg);
   raise(SIGABRT);
   for(;;); /* eliminate warning by mingw */
 }