What is a Breakpoint?- Using Breakpoints you can break or pause the execution of an application at a certain point.
- A breakpoint with an action associated with it, is called a 'tracepoint'.
- Using tracepoints, the debugger can perform additional actions instead of having an application only enter a break mode.
- It tells the debugger that an application should break at a certain point or when a certain condition occurs.
There are four types of breakpoint:
1. Function breakpoint 2. File breakpoint 3. Address breakpoint
1. Function breakpoint: - It causes the program to break when execution reaches a specified location within a specified function.
2. File breakpoint: - It causes the program to break when execution reaches a specified location within a specified file.
3. Address breakpoint: - It causes the program to break when execution reaches a specified memory address.
4. Data breakpoint: - It causes the program to break when the value of a variable range.
|