Chapter 5. Using The Emulator As A Debugger; Introduction; Debugger Overview; Breakpoints - Microchip Technology MPLAB REAL ICE User Manual

In-circuit emulator
Table of Contents

Advertisement

Chapter 5. Using the Emulator as a Debugger

5.1

INTRODUCTION

How to use the MPLAB REAL ICE in-circuit emulator as a debugger is discussed.

• Debugger Overview

• Breakpoints

• Triggers

• Trace
• Debugging Functions
• Debugging Dialogs/WIndows
5.2
DEBUGGER OVERVIEW
Select Debugger>Select Tool>MPLAB REAL ICE to choose the MPLAB REAL ICE
in-circuit emulator as the debug tool. The Debugger menu and MPLAB IDE toolbar will
change to display debug options once the tool is selected. Also, the Output window will
open and messages concerning ICE status and communications will be displayed on
the MPLAB REAL ICE tab.
Select Debugger>Settings to open the Settings dialog and set up options as needed.
5.3
BREAKPOINTS
Select Debugger>Breakpoints to open the Breakpoints dialog and set up multiple
breakpoints and breakpoint conditions, or right click on a line of code to set up an
individual breakpoint.
Breakpoints and triggers use the same resources. Therefore, the available number of
breakpoints is actually the available number of combined breakpoints/triggers.
See Section 5.7.1 "Breakpoints Dialog" for more information.
5.4
TRIGGERS
Select Debugger>Triggers to open the Triggers dialog to set up:
• Real-time data capture triggers. Use real-time data capture for variables in
MPLAB IDE windows to see real-time data updates of values instead of updates
on halt.
• External triggers. Use external triggers to set up hardware triggers using the logic
probe port.
Breakpoints and data capture triggers use the same resources. Therefore, the avail-
able number of breakpoints is actually the available number of combined
breakpoints/triggers.
Note:
See Section 5.7.7 "Triggers Dialog" for more information.
© 2006 Microchip Technology Inc.
There is a 60-instruction-cycle delay between data captures.
MPLAB
®
IN-CIRCUIT EMULATOR
REAL ICE
DS51616A-page 27

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MPLAB REAL ICE and is the answer not in the manual?

Table of Contents