13.07.2015 Views

RealView Debugger User Guide - ARM Information Center

RealView Debugger User Guide - ARM Information Center

RealView Debugger User Guide - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Working with Breakpoints4.1.6 Viewing breakpoints in your code viewBreakpoints are marked in the source-level and disassembly-level view in the graymargin, at the left side of the window. Standard software and hardware breakpoints areidentified by a disc icon, which is color-coded to reflect the type (see Breakpoint typeson page 4-2) and status of the breakpoint:RedYellowWhiteA red icon shows that you have set an unconditional breakpoint, and thatthe breakpoint is enabled.A yellow icon shows that you have set a conditional breakpoint, and thatthe breakpoint is enabled. The conditions are software conditions that arecontrolled by <strong>RealView</strong> <strong>Debugger</strong>. Although hardware breakpoints canhave conditions that are controlled in hardware, only when the softwareconditions are assigned are these breakpoints conditional in <strong>RealView</strong><strong>Debugger</strong>.A white icon shows that you have disabled an existing breakpoint. Whenyou re-enable the breakpoint, the icon changes back to the color it hadbefore the breakpoint was disabled.This color coding is also reflected in the Break/Tracepoints pane.NoteHardware access, read, and write breakpoints are not shown in the File Editor pane,because there is no specific line or context to display them.If you try to set a breakpoint on a non-executable line, <strong>RealView</strong> <strong>Debugger</strong> looks for thefirst executable line immediately following and places the breakpoint there. If the linespreceding the breakpointed instruction are comments, declarations, or othernon-executable code, they are marked with black, downward pointing arrows. Linesmarked in this way are regarded as part of the breakpoint.Multiple breakpoints units on a single lineIf you have set multiple breakpoint units on a source line containing multiple statementsor on inline functions, then disabling the first breakpoint unit changes the marker disc,shown in Figure 4-1 on page 4-11. If you disable the second breakpoint unit on the line,the marker remains.4-10 Copyright © 2002-2005 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0153G

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!