Synchronized debugging, Figure – Freescale Semiconductor Microcontrollers User Manual

Page 233

Advertising
background image

Synchronized Debugging Through DA-C IDE

Synchronized Debugging

233

Microcontrollers Debugger Manual

Figure 9.13 DA-C Component Opening

The Debugger DAC window, which is needed for communication with the DA-C IDE is
now opened (

Figure 9.14

).

Figure 9.14 DA-C Window

You must save this configuration by selecting File > Save Configuration from the main
menu of the Debugger. This component loads automatically the next time this project is
called. Close the Debugger.

Synchronized Debugging

We can now test the synchronization between the DA-C IDE and Debugger. Run
DA-C.exe

and open the project previously created. Open Fibo.c if it's not already

open. Right-click mouse button on Fibo.c source window and select main in the context
menu. The cursor points to the void main(void) { statement. In the main menu
from DA-C, select Debug > Set Breakpoint (or click on the corresponding button on the
debug toolbar), the selected line is highlighted in red, indicating that a breakpoint has been
set. Then select Debug > Run, the Debugger is now started and after a while stops on the
specified breakpoint. Up to now, you can debug from the DA-C IDE with the toolbar, as
shown in

Figure 9.15

, or from the Debugger.

Advertising