Crossware

Table of Contents        Previous topic       Next topic       

Breakpoints->Source and Machine Level Breakpoints

The simulator/debugger supports source level breakpoints and machine level breakpoints.

Source level breakpoints are associated with lines of source code whereas machine level breakpoints are associated with specific program and memory addresses.  If you change your program, machine level breakpoints remain associated with the same program and memory addresses.  However, the addresses for a source level breakpoints will change to suit the newly compiled or assembled program.

Source level breakpoints are maintained by the Embedded Development Studio.  Even if you switch to a completely different microprocessor family, your source level breakpoints will be unchanged.  You can set them and edit them even if the simulator is not running.

Machine level breakpoints are maintained by the simulator.  You can only set them or edit then when the simulator is open.