Renesas M3T-SRA74 Manual de usuario Pagina 98

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 177
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 97
E8a Emulator User's Manual 5. Debugging
5.3 Stopping Your Program
This section describes how you can halt execution of your application's code. This section
describes how to stop the program by setting an address match breakpoints at specific locations in
your code.
5.3.1 Address Match Breakpoints
When you are trying to debug your program you will want to be able to stop the program running when
it reaches a specific point or points in your code. You can do this by setting the address match
breakpoint on the line or instruction at which you want the execution to stop. The following instructions
will show you how to quickly set and clear address match breakpoint.
To set a PC breakpoint in the [Source] window
1.
Make sure that the [Disassembly] or [Source] window is open at the place you want to set a PC
breakpoint.
2. Double-click in the event column at the line which you want the program to stop.
3 You will see a blue circle appear in the column to indicate that an address match breakpoint has
been set.
Now when you run your program and it reaches the address at which you set the address match
breakpoint, execution halts with the message "BREAK CONDITION" displayed in the [Debug] sheet
of the [Output] window, and the [Source] or [Disassembly] window is updated with the address match
breakpoint line marked with an arrow in the gutter.
Note: When a break occurs, the program stops just before it is about to execute the line or
instruction at which you set an address match breakpoint. If you choose Go or Step after
stopping at the address match breakpoint, then the line marked with an arrow will be the
next instruction to be executed.
About address match breakpoints, see also section 5.4.13, Setting Break Conditions.
REJ10J1655-0400 Rev.4.00 Page 82 of 158
Apr 30, 2010
Vista de pagina 97
1 2 ... 93 94 95 96 97 98 99 100 101 102 103 ... 176 177

Comentarios a estos manuales

Sin comentarios