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 BreakpointsIf you have created a hardware breakpoint using one of the methods described in Settinghardware breakpoints explicitly on page 4-24, then you must edit the breakpoint toassign one or more condition qualifiers to it. To do this, right-click on the breakpointentry in the Break/Tracepoints pane, and select Edit Break/Tracepoint... from thecontext menu. The Set Address/Data Breakpoint dialog box is displayed, where you canassign condition qualifiers to the breakpoint.For details on using the Set Address/Data Breakpoint dialog box, see Using the SetAddress/Data Breakpoint dialog box on page 4-41.4.7.5 Setting conditional breakpoints in other ways<strong>RealView</strong> <strong>Debugger</strong> includes other ways to set conditional breakpoints and manipulateexisting ones:• Use drag-and-drop to create a breakpoint in the Break/Tracepoints pane based ona program item, for example highlight a source code function in the File Editorpane and then drag it (using your mouse) and drop it into the Break/Tracepointspane (see Using the Break/Tracepoints pane on page 4-63 for details).• Set a breakpoint on a memory location in the Memory pane. The type ofbreakpoint offered depends on the type of memory at the chosen location, forexample RAM, ROM, or Flash. See Operating on memory contents on page 6-25for more details.• Set a hardware breakpoint at an address of a symbol using the Set Break At...option on the Stack pane context menu, and assign a qualifier to the breakpoint.This displays the Set Address/Data Breakpoint dialog box (see Using the SetAddress/Data Breakpoint dialog box on page 4-41).However, this is not recommended if execution runs past the end of a functionreturn call because as soon as you exit the function the stack value is no longermeaningful.Use the Watch pane to track a specific symbol continuously because thisrecomputes the stack location dynamically and so tracks each invocation of thefunction.You can use local variables within the conditional part of a breakpoint because thestack value is computed correctly each time the breakpoint condition is evaluated.See Operating on stack contents on page 6-33 for more details on using the Stackpane.• Right-click on a value shown in the Watch pane, or on a variable shown in the CallStack pane, then select Break at... from the context menu. This displays the SetAddress/Data Breakpoint dialog box (see Using the Set Address/Data Breakpointdialog box on page 4-41).<strong>ARM</strong> DUI 0153G Copyright © 2002-2005 <strong>ARM</strong> Limited. All rights reserved. 4-39

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

Saved successfully!

Ooh no, something went wrong!