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

◆ cassert() [3/6]

static void xtd::diagnostics::trace::cassert ( bool  condition,
const xtd::string message,
const xtd::diagnostics::stack_frame stack_frame 
)
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.
stack_frameThe stack frame corresponding to the generated assert.