Stopping Your Program; Address Interrupt Breakpoints - Renesas Emulator System E8 User Manual

Renesas emulator system user's manual
Table of Contents

Advertisement

5.3

Stopping Your Program

This section describes how you can halt execution of your application's code. This section
describes how to stop the program by setting an address match breakpoints at specific locations in
your code.
5.3.1

Address Interrupt Breakpoints

When you are trying to debug your program you will want to be able to stop the program running when
it reaches a specific point or points in your code. You can do this by setting the address match
breakpoint on the line or instruction at which you want the execution to stop. The following instructions
will show you how to quickly set and clear address match breakpoint.
• To
set a PC breakpoint in the [Source] window
1.
Make sure that the [Disassembly] or [Source] window is open at the place you want to set a PC
breakpoint.
2.
Double-click in the event column at the line which you want the program to stop.
3
You will see a blue circle appear in the column to indicate that a address interrupt breakpoint has
been set.
Now when you run your program and it reaches the address at which you set the address interrupt
breakpoint, execution halts with the message "BREAK CONDITION" displayed in the [Debug] sheet
of the [Output] window, and the [Source] or [Disassembly] window is updated with the address
interrupt breakpoint line marked with an arrow in the gutter.
Note: When a break occurs, the program stops just before it is about to execute the line or
instruction at which you set a address interrupt breakpoint. If you choose Go or Step after
stopping at the address interrupt breakpoint, then the line marked with an arrow will be the
next instruction to be executed.
About address interrupt break, see also section
78
5.4.13, Setting Break Conditions
.

Advertisement

Table of Contents
loading

Table of Contents