Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
spru509f(введение).pdf
Скачиваний:
13
Добавлен:
18.05.2015
Размер:
1.72 Mб
Скачать

www.ti.com

Introduction to Help

2.5.4Viewing Variables

In the debugging process, you should view the value of the variables to ensure that the function executes properly. Variables can be viewed in the watch window when the CPU has been halted. The watch window can be opened by selecting ViewWatch Window. The Watch Locals tab shows all the relevant variables in the current execution.

As you continue to Step Into the while loop, the values of the variables change through each execution. In addition, you can view the values of specific variables by hovering the mouse pointer over the variable or by placing the variables in the Watch1 tab. For more information on variables and watch windows, see Section 5.2.4.

2.5.5Output Window

The Output window is located at the bottom of the screen by default. It can also be accessed by ViewOutput Window. By default, the printf function displays the same Output window, showing information such as the contents of Stdout and the build log.

2.5.6Symbol Browser

The symbol browser allows you to access all the components in your project with a single click. Select ViewSymbol Browser to open the window. The symbol browser has multiple tabs, including tabs for Files, Functions, and Globals.

Expanding the tree in the Files tab shows the source files in your project. Double-clicking on files in the Files or Functions tabs automatically accesses the file. The Globals tab allows you to access the global symbols in your project.

For more information on the Symbol browser, see Section 5.2.9.

You should now have successfully created, built, loaded, and debugged your first Code Composer Studio program.

2.6Introduction to Help

Code Composer Studio provides many help tools through the Help menu. Select HelpContents to search by contents. Select HelpTutorial to access tutorials to guide you through the Code Composer Studio development process.

Select HelpWeb Resources to obtain the most current help topics and other guidance. User manuals are PDF files that provide information on specific features or processes.

You can access updates and a number of optional plug-ins through HelpUpdate Advisor.

16

Getting Started Quickly

SPRU509F –May 2005

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]