Microsoft DirectX 9.0

KASSERT

Evaluates an expression, and causes a breakpoint exception if the expression is FALSE. The text of the expression, the name of the source file, and the line number are logged using the DbgLog macro. Ignored in retail builds.

Syntax

KASSERT(
    cond
);

Parameters

cond

Expression to evaluate.

Remarks

Unlike the ASSERT and EXECUTE_ASSERT macros, this macro does not display a message box prompting the user. In debug builds, if the expression is FALSE, the macro automatically causes a breakpoint exception to occur. 

See Also