Data Break - Fujitsu SOFTUNE User Manual

Fr family softune workbench
Table of Contents

Advertisement

2.1.8.2

Data Break

This function aborts the program execution when a data access (read/write) is made to
a specified address.
■ Data Break
When data is written or read to a data break point, the simulator debugger executes the following processes:
1. Suspend program execution after completing instruction execution
2. Checks access count. If the access count has not yet been reached the count for the specified data break
point, the simulator resumes the program execution. If the count has been reached, the simulator
proceeds to step 3.
3. If program execution is suspended by reaching access count, on Status Bar, displays memory location of
data break point and of instruction writing to it.
4. Displays memory location executed next.
Up to 65535 data break points can be set.
When the data break occurs, the following message appears at the status bar.
Break at address by databreak at access address
■ How to set
Set the data break as follows.
• Command
- SET DATABREAK
For details, refer to "3.8 SET DATABREAK (type 1)" in "SOFTUNE Workbench Command Reference
Manual".
• Dialog
- Data tab in breakpoint setting dialog
For details, refer to "4.6.4 Breakpoint" in "SOFTUNE Workbench Operation Manual".
Notes:
• If an automatic variable within a C/C++ function is specified, a data break is set at the address
where the automatic variable is held. Therefore, the data break remains valid even after the
specified automatic variable becomes invalid (after exiting function), causing a break due to
unexpected access.
• To allow access to a variable in C/C++ to cause a break, specify the variable address by putting
an ampersand symbol "&" immediately before the variable symbol.
• It is required to set memory map in order to set breakpoint for high-speed simulator debugger.
Once memory map is deleted, setup of breakpoint will also be deleted.
CHAPTER2 Dependence Functions
45

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents