11.07.2015 Views

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

CrossWorks for ARM User Guide

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.

v = Debug.evaluate("*(Complex*)0x200");Note that you should ensure that the JavaScript program will terminate as if it goes intoan endless loop then the debugger, and consequently CrossStudio, will becomeunresponsive and you will need to kill CrossStudio using a task manager.Trace windowThe trace window displays historical in<strong>for</strong>mation on the instructions executed by thetarget. The type and number of the trace entries depends upon the target that isconnected when gathering trace in<strong>for</strong>mation. Some targets may trace all instructions,others may trace jump instructions, and some may trace modifications to variables.You'll find the trace capabilities of your target on the right click context menu.Each entry in the trace window has a unique number, and the lower the number theearlier the trace. You can click on the header to show earliest to latest or the latest toearliest trace entries. If a trace entry can have source code located to it then doubleclicking on the trace entry will show the appropriate source display.Some targets may provide timing in<strong>for</strong>mation which will be displayed in the tickscolumn.The trace window is updated each time the debugger stops when it is visible. So singlestepping is likely to be slower if you have this window displayed.Watch windowThe watch window provides a means to evaluate expressions and display the valuesof those expressions. Typically expressions are just the name of the variable to bedisplayed, but can be considerably more complex see Debug expressions (page 65).Note that the expressions are always evaluated when your program stops so theexpression you are watching is the one that is in scope of the stopped program position.Watch window user interfaceThe Watch window is divided into a tool bar and the main data display.122 Chapter 12 CrossStudio Windows

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

Saved successfully!

Ooh no, something went wrong!