Temporary breakpoints, Permanent breakpoints, Setting temporary breakpoints – Freescale Semiconductor Microcontrollers User Manual

Page 165: Setting permanent breakpoints

Advertising
background image

Control Points

Setting Breakpoints

165

Microcontrollers Debugger Manual

Temporary Breakpoints

Temporary breakpoints are activated next time the instruction is executed. A temporary
breakpoint is recognized by the following icon:

Setting Temporary Breakpoints

Using the Source Window Context Menu:

1. Point at a C statement in the Source window and right-click. The Source Context

Menu is displayed.

2. Choose Run To Cursor from the Context Menu. The application continues execution

and stops before executing the statement. A temporary breakpoint is set.

Holding down the left mouse button and pressing the T key:

1. Point at a C statement in the Source window, hold down the left mouse button and

press the T key.

2. A temporary breakpoint is defined.

3. Choose Run To Cursor from the Context Menu. The application continues execution

and stops before executing the statement.

Temporary breakpoints are automatically deleted once they have been activated. If you
continue program execution, it no longer stops on the statement that contained the
temporary breakpoint.

Permanent Breakpoints

Permanent breakpoints are activated each time the instruction is executed. A permanent
breakpoint is recognized by the following icon:

Setting Permanent Breakpoints

Using the Source Window Context Menu:

1. Point at a C statement in the Source window and right-click. The Source Context

Menu is displayed.

2. Select Set BreakPoint from the Context Menu. A permanent breakpoint mark is

displayed in front of the selected statement.

Advertising