Debugging C Programs; Displaying Memory With C Sources; Displaying Trace With C Sources - HP 64793 Series User Manual

H8/338/329 emulator softkey interface
Table of Contents

Advertisement

Debugging C
Programs
Displaying Memory
with C Sources
Displaying Trace with
C Sources
5-4 Using the Emulator
Softkey Interface has following functions to debug C programs.
Including C source lines in memory mnemonic display
Including C source lines in trace listing
Stepping C sources
The following section describes such features.
You can display memory in mnemonic format with C source lines. For
example, to display memory in mnemonic format from address _main
with source lines, enter the following commands.
display memory _main mnemonic
<RETURN>
set source on <RETURN>
You can display source lines highlighted with the following command.
set source on inverse_video on
<RETURN>
To display only source lines, use the following command.
set source only <RETURN>
Specifying Address with Line Numbers
You can specify addresses with line numbers of C source program. For
example, to set a breakpoint to line 20 of "main.c" program, enter the
following command.
modify software_breakpoints set
main.c: line 20 <RETURN>
You can include C source information in trace listing. You can use the
same command as the case of memory display. For example, to
display trace listing with source lines highlighted, enter the following
command.
display trace <RETURN>

Advertisement

Table of Contents
loading

This manual is also suitable for:

64793a64793b

Table of Contents