Export (0) Print
Expand All
div
eof
Expand Minimize
This topic has not yet been rated - Rate this topic

_CrtDbgBreak 

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


void _CrtDbgBreak( void );

There is no return value.

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.

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

Routine Required header Compatibility

_CrtDbgBreak

<CRTDBG.h>

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003. For more information, see Compatibility.

Debug versions of C run-time libraries only.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.