Microchip Technology PICkit 3 Starter Kit DV164130 DV164130 User Manual

Product codes
DV164130
Page of 98
PICkit™ 3 USER’S GUIDE
© 2009 Microchip Technology Inc.
DS51795A-page 49
Chapter 9.  Debugger Function Summary
9.1
INTRODUCTION
A summary of the PICkit 3 programmer/debugger functions on menus, in windows and 
on dialogs is listed here.
9.2
DEBUGGING FUNCTIONS
When you select the PICkit 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.