This documentation is archived and is not being maintained.


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