Folding and unfolding, Source menus – Freescale Semiconductor Microcontrollers User Manual

Page 118

Advertising
background image

Debugger Components

General Debugger Components

118

Microcontrollers Debugger Manual

Setting Permanent Breakpoints

• Point to an instruction in the Source component Window and click the right mouse

button. The Source Component context menu is displayed. Select Set Breakpoint
from the context menu. The permanent breakpoint icon is displayed in front of the
source statement pointed to.

• Holding down the left mouse button and pressing the P key: Sets a permanent

breakpoint at the nearest code position (visible with marks). The permanent
breakpoint icon is displayed in front of the source statement pointed to.

Folding and Unfolding

Use this feature to show or hide a section of source code (e.g., source code of a function).
For example, if a section is free of bugs, you can hide it. All text is unfolded at loading.

• Sections of code that can be folded are enclosed between

and

.

• Sections of code that can be unfolded are hidden under

.

• Double-click a folding mark

or

to fold the text located between the

marks.

• Double-click an unfolding mark

to unfold the text that is hidden behind the

mark.

Source Menus

The Source Menu is shown in

Figure 3.62

and

Figure 3.63

shows the functions associated

with the Source Context Menu.

Table 3.33

describes these functions. Menu content varies

if the DBG module is available.

Figure 3.62 Source Menu

Advertising