
IPC@CHIP
®
DK55
Getting Started V1.0
3.3 Debugging
your
IPC@CHIP
®
applications
You may debug your IPC@CHIP
®
applications using the integrated debugger of the Paradigm
C++ Beck Edition development environment. It communicates with the server program
PROBE.EXE
which must run on the IPC@CHIP
®
. So first you have to load this program to the
chip (using the IPC@CHIPTOOL FTP client) and start it. It’s situated in the subdirectory
BECKPROBE
of the Paradigm C++ Beck Edition installation directory. It is recommended to
start the server program via the
AUTOEXEC.BAT
while debugging your applications, because
the debugger may reboot your IPC@CHIP
®
autonomously.
To make your applications debug-able you need to change some settings in your project.
1. Select
Options
→
Project…
from the Paradigm C++ Beck Edition’s main window.
2. Open the section
Compiler
→
Debugging
in the appearing dialog and check the settings
Line numbers
and
Generate debug information
.
3. Now open the section
Linker
→
General
and check the setting
Include debug information
.
4. Close
the
Project Options
dialog by clicking
OK
.
After recompiling the project your executable file includes all information that the debugger
needs to enable source-level debugging. Make sure you don’t pack the executable file if you
want to debug it.
Next you have to set up the communication options for the connection to the server program.
1. Right-click on the executable file’s name in the project view and select
TargetExpert…
from the pop-up menu.
Copyright © 2007 Beck IPC GmbH
Page 25 of 35