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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Working with Breakpoints4.4 Setting unconditional breakpoints explicitlyYou can set an unconditional breakpoint explicitly using one of the following methods:• use the Simple Break if X dialog box (see Using the Simple Break if X dialog box)• use the Set Address/Data Breakpoint dialog box without assigning any qualifiers(see Using the Set Address/Data Breakpoint dialog box on page 4-41).4.4.1 Using the Simple Break if X dialog boxThe Simple Break if X dialog box enables you to set an unconditional software orhardware breakpoint, depending on the memory location.To display this dialog box, shown in Figure 4-5, use one of the following methods:• Select the following option from the Code window main menu:Debug → Breakpoints → Conditional → Break if X...• Right-click on the margin, an instruction, or line of source code in the File Editorpane, and select Set BreakIf... from the context menu. Then select Break if X...from the List Selection dialog box, and click OK.• Using the Break/Tracepoints pane, either:— select Set BreakIf... from the Pane menu— right-click on the pane background, and select Set BreakIf... from thecontext menu.Then select Break if X... from the List Selection dialog box, and click OK.Figure 4-5 Simple Break if X dialog boxThe Breakpoint Type controls the type of memory, program, or data, and the type ofaccess that stops execution. In this case, this shows SW Instr as the given type. Thisfield is set to read-only where this is the only type of breakpoint supported by yourdebug target.If your target supports hardware breakpoints, click on the drop-down arrow to displaya list of the available types.<strong>ARM</strong> DUI 0153G Copyright © 2002-2005 <strong>ARM</strong> Limited. All rights reserved. 4-21

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

Saved successfully!

Ooh no, something went wrong!