Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining


You can call the DebugBreak Win32 function at any point in your code. DebugBreak has the same effect as setting a breakpoint at that location.

Because DebugBreak is a call to a system function, system debug symbols must be installed to ensure the correct call stack information is displayed after breaking. Otherwise, the call stack information displayed by the debugger may be off by one frame.

See Also

Debugging Visual C++ | Installing System Debug Symbols

© 2015 Microsoft