Breakpoints – Freescale Semiconductor Microcontrollers User Manual

Page 158

Advertising
background image

Control Points

Breakpoints

158

Microcontrollers Debugger Manual

• Enable/disable a selected control point by checking or unchecking the related

checkbox.

• Enable/disable multiple control points by checking or unchecking the related

checkbox.

• Enter or modify the condition of a selected control point.

• Enable/disable the condition of a selected control point by checking/unchecking the

related checkbox.

• Enter or modify the command of a selected control point.

• Enable/disable the command of a selected control point by checking/unchecking the

related checkbox.

• Enable/disable multiple control point commands by selecting control points and

checking/unchecking the related checkbox.

• Modify the counter and/or limit of a single control point.

With breakpoints, the following operations are also available:

• Enable/disable halting on a single temporary breakpoint by checking/unchecking the

matching checkbox.

• Enable/disable halting on multiple temporary breakpoints by checking/unchecking

the matching checkbox.

With watchpoints, the following operations are also available:

• Enable/disable halting on a single read and/or write access by checking/unchecking

the corresponding checkboxes.

• Enable/disable halting on multiple read and/or write accesses by checking/

unchecking the corresponding checkboxes.

• Define the memory range controlled by the watchpoint.

Breakpoints

Breakpoints are control points associated with a PC value. That is, program execution is
stopped as soon as the PC reaches the value defined in a breakpoint. The debugger
supports four different types of breakpoints:

• Temporary breakpoints, which are activated next time the instruction is executed.

• Permanent breakpoints, which are activated each time the instruction is executed.

• Counting breakpoints, which are activated after the instruction has been executed a

certain number of times.

• Conditional breakpoints, which are activated when a given condition is TRUE.

Advertising