Condividi tramite


_CrtDbgBreak

Sets a break point on a particular line of code. (Used in debug mode only.)

void _CrtDbgBreak( void );

Return Value

There is no return value.

Remarks

The _CrtDbgBreak function sets a debug break point on the particular line of code where the function resides. The functions is only used in debug mode only and is dependant on _DEBUG begin previous define.

For more information about using other hook-capable run-time functions and writing your own client-defined hook functions, see Writing Your Own Debug Hook Functions.

.NET Framework Equivalent

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

Requirements

Routine

Required header

_CrtDbgBreak

<CRTDBG.h>

Libraries

Debug versions of C run-time libraries only.

See Also

Concepts

Debug Routines