_BreakPoint( ) API Library Routine

Example

_BreakPoint( ) is a macro that generates the debugger breakpoint instruction, INT 3. This can be helpful for debugging external routines.

Syntax

void _BreakPoint(void any)
void any;                     /* Pointer. */

Remarks

When a _BreakPoint( ) call is encountered, control transfers to your debugger. Most debuggers return control to the program line that includes the INT3 instruction, and you have to manually increment the instruction pointer (IP) past this instruction. At that time you can use your debugger to set additional breakpoints. Always remove any breakpoints before exiting the external routine. For more information about debugging, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.