Controlling Program Execution
This section explains how to use breakpoints, breakpoint actions, and watchpoints to manipulate execution of your program in the Carbide™ IDE:
- Breakpoints—halt program execution on a line of source code that you specify. You can set a breakpoint that always halts program execution, or you can set a breakpoint that halts program execution if a condition that you specify is true.
- Breakpoint actions—perform a task during program execution on a line of source
code that you specify. Breakpoint actions can play sounds, run scripts, log data, and perform other operations.
- Watchpoints—halt program execution after a location in memory changes
value
After you set these items in your source code, you start a debugging session to use them. As program execution arrives at each of these items, the debugger can halt execution, perform a task, or update data.
Related concepts
Related references