Renesas Emulator System SH7362 Manual de usuario Pagina 96

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 124
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 95
E8a Emulator User's Manual 6. Tutorial
R20UT0541EJ0601 Rev.6.01 Page 96 of 124
Aug 25, 2011
6.14 Forced Breaking of Program Executions
The High-performance Embedded Workshop can force a break in the execution of a program.
Cancel all breaks.
To execute the remaining sections of the main function, select [Go] from the [Debug] menu or the [Go] button on the
toolbar.
Figure 6.26 [Go] Button
The program goes into an endless loop. To force a break in execution, select [Halt] from the [Debug] menu or the [Halt]
button on the toolbar.
Figure 6.27 [Halt] Button
6.15 Displaying Local Variables
The user can display local variables in a function using the [Locals] window. For example, we will examine the local
variables in the main function, which declares four local variables: a, j, i, and p_sam.
Select [Locals] from the [Symbol] submenu of the [View] menu. The [Locals] window is displayed.
The [Locals] window shows the local variables in the function currently pointed to by the program counter, along with
their values. Note, however, that the [Locals] window is initially empty because local variables are yet to be declared.
Figure 6.28 [Locals] Window
Click mark ‘+’ at the left side of array a in the [Locals] window to display the elements.
When the user refers to the elements of array a before and after the execution of the sort function, it is clarified that
random data is sorted in descending order.
Vista de pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 123 124

Comentarios a estos manuales

Sin comentarios