Chapter 9. Debugger Function Summary; Introduction; Debugging Functions - Microchip Technology MPLAB ICD 3 User Manual

In-circuit debugger
Hide thumbs Also See for MPLAB ICD 3:
Table of Contents

Advertisement

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.

• Debugging Functions

• Debugging Dialogs/Windows
• Programming Functions
• Settings Dialog
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
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.
© 2008 Microchip Technology Inc.
MPLAB
DEBUGGER USER'S GUIDE
Debugger Menu
®
ICD 3 IN-CIRCUIT
DS51766A-page 65

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MPLAB ICD 3 and is the answer not in the manual?

Table of Contents