Microchip Technology ICD 3 In-Circuit Debugger DV164035 DV164035 User Manual

Product codes
DV164035
Page of 108
MPLAB
®
 ICD 3 IN-CIRCUIT
DEBUGGER USER’S GUIDE
© 2008 Microchip Technology Inc.
DS51766A-page 65
Chapter 9.  Debugger Function Summary
9.1
INTRODUCTION
A summary of the MPLAB ICD 3 in-circuit debugger functions on menus, in windows 
and on dialogs is listed here.
9.2
DEBUGGING FUNCTIONS
When you select the MPLAB ICD 3 from the Debugger menu, the following items will 
be added to the MPLAB IDE functions:
• Debugger Menu – additional options are added to the drop-down menu
• Right Mouse Button Debugger Menu – additional options are added to this menu
• Toolbars/Status Bar – a toolbar appears below the menu bar; additional 
information appears in the status bar
9.2.1
Debugger Menu
Run F9
Execute program code until a breakpoint is encountered or until Halt is selected.
Execution starts at the current Program Counter (as displayed in the status bar). The 
current Program Counter location is also represented as a pointer in the Program 
Memory window. While the program is running, several other functions are disabled.
Animate
Animate causes the debugger to actually execute single steps while running, updating 
the values of the registers as it runs.
Animate runs slower than the Run function, but allows you to view changing register 
values in the Special Function Register window or in the Watch window.
To Halt Animate, use the menu option Debugger>Halt, the toolbar Halt or <F5>.
Halt F5
Halt (stop) the execution of program code. When you click Halt, status information is 
updated.
Step Into F7
Single step through program code.
For assembly code, this command executes one instruction (single or multiple cycle 
instructions) and then halts. After execution of one instruction, all the windows are 
updated.