Home !

Debugging

Debugging

All versions of the FED C Compilers  (WIZ-C Professional and AVIDICY) and WIZ-ASM produce assembler code which is debugged within the environment - the debugging part of the compiler
provides . Within FED C the program may be fully debugged, the C Source code is displayed
alongside the assembler code and C code may be single stepped or run to a breakpoint.

Variables may be examined in char, int, long or float form, decimal or hex, signed or unsigned, or
hex values dumped. For the professional version C types may be examined in source format - for example structures are displayed with member names and contents.

Here are some features of the debugger :

  • Full editor with syntax highlighting in color. Follow your code as it steps  through the editor
    window, view help file information directly from the code
  • Set breakpoint on line, jump to label, evaluate memory variables all by  single click
  • Simulator allows addressed, conditional and timed breakpoints
  • Simulator runs up to 50 times faster than DOS based simulators, 10 times  faster than some
    other Windows based simulators !
  • Trace Analyser allows any register or port  value to be examined in analogue (graphical),
    waveform, or numeric values, check  your program directly against your predicted waveforms.
  • Debugger allows variables to be examined in byte, word or long form, octal,  decimal, hex and floating form, also dump memory areas
  • Profiler examines and times called routines - use it to optimise out bottle necks and check
    timing loops
  • Track errors and jump straight to error lines
  • Input stimuli include clocks, direct values and asynchronous serial data.
  • Allows full use of 32 bit Windows facilities - controls and  long filenames.
  • Includes full terminal emulator program and support for in-circuit debugging  on all devices

The External Device Debugging facility allows many types of peripheral to be examined whilst the
code runs including terminals, displays, I2C, Switches, Keypads etc.

FED C includes a waveform analyser which may be used to examine changing values on the pins of the PICmicro® MCU, or in any internal register.