xtd 0.2.0
Loading...
Searching...
No Matches

◆ cassert() [4/6]

static void xtd::diagnostics::trace::cassert ( bool  condition,
const xtd::string message,
const xtd::string detail_message 
)
static

Checks for a condition; if the condition is false, displays a message box that shows the call stack.

Parameters
conditionThe conditional expression to evaluate. If the condition is true, a failure message is not sent and the message box is not displayed.
messageThe message to send to the xtd::diagnostics::debug::listeners collection.
detail_messageThe detailed message to send to the xtd::diagnostics::debug::listeners collection.