Synchronized Debugging Through DA-C IDE
Debugger Interface
230
Microcontrollers Debugger Manual

Debugger Interface

DA-C v3.5 currently integrates a DAPI interface (Debugging support Application
Programming Interface). Through this interface DA-C is enabled to exchange messages
with the Debugger. The advantages of this connection allow you to set or delete break
points from within DA-C (in an editor, flow chart, graph, browser) and to execute other
debugger operations. DA-C follows the debugger in its operation, since it is always in the
same file and on the same line as the debugger. Thus, usability of both the DA-C and
Debugger is increased. Some configurations are required in order to make efficient use of
this Debugger Interface:
Installation of communication DLL
Configuration of Debugger properties
Configuration of the Debugger project file

DA-C IDE and Debugger Communication

DA-C and the Debugger are both Microsoft Windows applications and communication is
based on the DDE protocol, as shown in Figure 9.10. The whole system contains:
• DA-C
• Debugger
cDAPI interface implementation DLL - which is used by DA-C (Cdgen32.dll)
nDAPI communication DLL (provided by DA-C), which is used by Debugger
Debugger specific DLL for bridging its interface to debugging environment and DA-
C's nDAPI (DAC.wnd)