Table of Contents
Previous topic Next topic
Breakpoints->Using Breakpoints
Breakpoints can be set to halt program execution when certain conditions occur. These conditions are:
- the address of the next instruction to be executed has been set as an execution breakpoint
- a byte has just been read from or written to memory at an address that has been set as an memory read and/or write breakpoint
- the stack pointer falls outside of the range that has been set as stack out of limits breakpoint.
Breakpoints can be set using the breakpoints dialog box or using the set breakpoint at cursor command.
The breakpoints that you set are unique to a particular ColdFire program and so if you have more than one program loaded into the simulator then both will have their own separate breakpoints.
When a program is closed, its breakpoints are saved in its program status file and so will be restored when the same program is opened again.