Datasheet
Emulator User’s Guide for MPLAB X IDE
DS52085A-page 6 2013 Microchip Technology Inc.
Chapter 5. Common Debug Functions
5.1 Introduction ................................................................................................... 49
5.2 Starting and Stopping Emulation .................................................................. 49
5.3 Viewing Processor Memory and Files .......................................................... 50
5.4 Breakpoints and Stopwatch .......................................................................... 50
5.5 External Triggers (Logic Probes) .................................................................. 51
Chapter 6. Specific Debug Functions: 8- and 16-Bit Devices
6.1 Introduction ................................................................................................... 53
6.2 Data Capture and Runtime Watches ............................................................ 53
6.3 Instrumented Trace ...................................................................................... 55
6.4 PC Sampling ................................................................................................ 62
6.5 Application In/Out ......................................................................................... 63
6.6 Additional Debug Features ........................................................................... 65
Chapter 7. Specific Debug Functions: 32-Bit Devices
7.1 Introduction ................................................................................................... 67
7.2 Data Capture and Runtime Watches ............................................................ 67
7.3 PIC32 Instruction Trace ................................................................................ 70
7.4 Instrumented Trace ...................................................................................... 75
7.5 PC Profiling .................................................................................................. 75
7.6 Application In/Out ......................................................................................... 76
7.7 Additional Debug Features ........................................................................... 78
Part 3 – Troubleshooting
Chapter 8. Troubleshooting First Steps
8.1 Introduction ................................................................................................... 81
8.2 The 5 Questions to Answer First .................................................................. 81
8.3 Top Reasons Why You Can’t Debug ........................................................... 81
8.4 Other Things to Consider ............................................................................. 82
Chapter 9. Frequently Asked Questions (FAQ)
9.1 Introduction ................................................................................................... 83
9.2 How The Emulator Works ............................................................................ 83
9.3 How Trace Works – 8 and 16 Bit Devices .................................................... 85
9.4 General Issues ............................................................................................. 87
Chapter 10. Messages
10.1 Introduction ................................................................................................. 91
10.2 Error Messages .......................................................................................... 91
10.3 General Corrective Actions ........................................................................ 96
10.4 Informational Messages ............................................................................. 97