A breakpoint suspends the debug session automatically when the instruction on which it is set is executed. When a breakpoint is set in trace collection, it halts the application at a particular source line and stops collecting the trace data. You can start collecting trace again from that source line by resuming the debug session.
You can set breakpoints either in the editor area or in the Disassembly view. The following steps demonstrate how to set a breakpoint in the editor area and collect trace data on the ColdFire V1 target:
The figure below shows that trace collection stops at the address where the breakpoint was set.
On HCS08, if you are setting breakpoints with triggers for trace control, ensure that you do not to use more than one breakpoint. This is because on HCS08, two hardware debug modules, BDC (Background debug controller) and DBG (debug module) are used. Both debug modules can be used for setting hardware breakpoints, while only DBG can be used for setting triggers. The first breakpoint is set using BDC, any other breakpoints will use DBG and will conflict with the triggers.
On DSC and S12z platforms, breakpoints and triggers are mutually exclusive.
On the Kinetis platform, there are four DWT comparators which can be used for maximum four events. The Software Analysis tool checks which DWT comparators are already used for breakpoints and only uses the remaining ones for triggers.