Microchip Technology DM300023 数据表

下载
页码 50
Using the dsPIC30F2020 Device
© 2006 Microchip Technology Inc.
DS70181A-page 35
3.5.3
Set Break Point
• To set a breakpoint, right click a code line and select “Set Breakpoint” from the 
pop-up menu.
As an example, find the following line of code and set a breakpoint on this line.
cp0
VIN_GOOD_FLAG 
A red stop sign should appear in the gutter (gray bar on the left) of the source 
code window, as shown in Figure 3-19.
• Press <F9> to run the code. The program halts on the instruction following the 
breakpoint
FIGURE 3-19:
SETTING BREAKPOINT
Note: An alternate method is to simply double click the line. This feature may 
need to be enabled using the Edit>Properties menu.