|
for VME and S-Bus Programs
generated by Lucent's C-compiler can be debugged at the
'C' source level. D3BUG is a user-friendly utility with
pop-up windows, expert mode hot keys, and
context-sensitive help screens. Displays are
automatically updated after each operator action. D3BUG
is included with the DSP32C-CDS-SUN4 development system
packages.
Features
- Callable by host application or command line.
- Multi-processor, multi-board debugging.
- Multiple source files/directories.
- OpenWindows Desktop compatible.
- Time stamp check between source and executable
files.
- DSP memory transfers to and from disk.
- DSP I/O register display.
- Inactivity screen blanking.
- Escape to operating system.
Accumulators and
Registers
The 4 DSP accumulators and 22 registers can be displayed
or modified.
Back to Diagram
Execution
Single step one C-source line at a time (or one DSP
instruction in mixed-listing mode), step into or over a
function, run to the next breakpoint, run-to-return from
a function, jump to a line number, and halt execution or
run at full speed. Conditional branching and DSP latency
effects are automatically considered when placing break
points.
Back to Diagram
Code Window
The source code is displayed as the program is single
stepped or when a break point is hit. The highlighted
line indicates the next instruction to be executed. Each
line that can accept a break point (as determined by the
Lucent C-compiler) is marked with a '>'.
A single button click toggles the mixed-listing
option. C-source lines are separated by compiler
generated assembly code. This feature helps determine
which sections of code should be optimized.
Back to Diagram
Memory
The scrollable memory window is used to display and
modify the DSPs on-chip and local memory (code and data)
as 8, 16, or 32-bit size in hex, decimal, float or ASCII
format. Symbol names of the variables are used in all
displays wherever possible to facilitate debugging.
Back to Diagram
Variables
Global, local and watch variables and their contents are
displayed in alphabetical order and in their correct
format and size. These windows can be scrolled or
removed. As you single-step through your code, the
display of local variables automatically reflects only
those relative to the DSPs program counter. The watch
window can be filled with local and global variables of
interest.
Back to Diagram
Break Points
Break points can be set at the 'C' source line indicated
by the '>' mark. A removable window displays the break
points that have been set.
Back to Diagram
|