| 373 | } |
| 374 | |
| 375 | void DebugAssertImpl(wchar_t const* msg, wchar_t const* file, int line) |
| 376 | { |
| 377 | if (IsVerboseTraceEnabled()) { |
| 378 | wprintf(L"ASSERTION FAILED: %s(%d): %s\n", file, line, msg); |
| 379 | |
| 380 | if (IsDebuggerPresent()) { |
| 381 | DebugBreak(); |
| 382 | } |
| 383 | } else { |
| 384 | #ifndef NDEBUG |
| 385 | _wassert(msg, file, line); |
| 386 | #endif |
| 387 | } |
| 388 | } |
| 389 | |
| 390 | void VerboseTraceEventImpl(PMTraceConsumer* pmConsumer, EVENT_RECORD* eventRecord, EventMetadata* metadata) |
| 391 | { |
nothing calls this directly
no test coverage detected