mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
[XDK/DDK]
Improve debugprint in __assert_annotationA/W svn path=/trunk/; revision=64905
This commit is contained in:
parent
93d7ffd181
commit
5c0f6850a4
|
@ -11061,9 +11061,9 @@ RtlCheckBit(
|
||||||
# define __assert_annotationW(msg) __annotation(L"Debug", L"AssertFail", msg)
|
# define __assert_annotationW(msg) __annotation(L"Debug", L"AssertFail", msg)
|
||||||
#else
|
#else
|
||||||
# define __assert_annotationA(msg) \
|
# define __assert_annotationA(msg) \
|
||||||
DbgPrint("Assertion %s(%d): %s", __FILE__, __LINE__, msg)
|
DbgPrint("Assertion failed at %s(%d): %s\n", __FILE__, __LINE__, msg)
|
||||||
# define __assert_annotationW(msg) \
|
# define __assert_annotationW(msg) \
|
||||||
DbgPrint("Assertion %s(%d): %S", __FILE__, __LINE__, msg)
|
DbgPrint("Assertion failed at %s(%d): %S\n", __FILE__, __LINE__, msg)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NT_VERIFY(exp) \
|
#define NT_VERIFY(exp) \
|
||||||
|
|
|
@ -3113,9 +3113,9 @@ RtlCheckBit(
|
||||||
# define __assert_annotationW(msg) __annotation(L"Debug", L"AssertFail", msg)
|
# define __assert_annotationW(msg) __annotation(L"Debug", L"AssertFail", msg)
|
||||||
#else
|
#else
|
||||||
# define __assert_annotationA(msg) \
|
# define __assert_annotationA(msg) \
|
||||||
DbgPrint("Assertion %s(%d): %s", __FILE__, __LINE__, msg)
|
DbgPrint("Assertion failed at %s(%d): %s\n", __FILE__, __LINE__, msg)
|
||||||
# define __assert_annotationW(msg) \
|
# define __assert_annotationW(msg) \
|
||||||
DbgPrint("Assertion %s(%d): %S", __FILE__, __LINE__, msg)
|
DbgPrint("Assertion failed at %s(%d): %S\n", __FILE__, __LINE__, msg)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define NT_VERIFY(exp) \
|
#define NT_VERIFY(exp) \
|
||||||
|
|
Loading…
Reference in a new issue