HP WDB GUI 5.8 Reference Manual ( February 2008 )

Debugging with WDB GUI
Viewing the Execution Path Entries
Chapter 388
The LEPT frame displays the following information:
The serial number for each local execution path entry
The corresponding PC address for the first instruction in each branch that is executed
within the current function
The branch ID is displayed exclusively for each branch module that is executed.
However, all the branch modules within the function are assigned an branch ID. (For
example, the if statement and the else statement are each assigned unique IDs.
However only the ID of the executed branch, which is the ID of the if statement or the
ID of the else statement is displayed).
The LEPT frame also displays the total branch paths found, the total number of branches
executed, the Branch ID of the last branch executed, the current function, and the current
filename.
By default all local execution path entries are highlighted in the source view and the
disassembly view. To exclusively highlight a specific local execution path table entry in the
source view and the disassembly view, click on the required local execution path entry. To
revert back to highlighting all the local execution path entries in the source view and
disassembly view, click on Highlight all LEPTs.
Global Execution Path Table (GEPT)
The GEPT frame displays the global execution path entries for each of the branches in the
program execution path.
The GEPT table displays the following information:
The number of branch paths found
The serial number for each global execution path entry
The name of the file, where the first instruction in the executed branch occurs
The line number of the first instruction in each branch module of the program
execution path
The function name, where the first instruction in the executed branch occurs
The PC address of the first instruction in the corresponding executed branch
To highlight the global execution path entry in the source view and the disassembly view,
click on the required global execution path entry. To revert back to the default state where
all local execution path entries are highlighted in the source view and the disassembly
view, click on Highlight all LEPTs.