Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Debug a code by Eclipse

mhadian
Beginner
312 Views
I have installed Intel C++ compiler integrated with Eclipse on a Linux system.
1. Though i have installed idb, i can not find the option to debug the code using idb in Eclipse.
2. when i debug the code in Eclipse, the items for debugging line by line and debugging to a spesific line are always off.
does anybody know how to configure the Eclipse to overcome the above problems?
Hadian
0 Kudos
3 Replies
William_H_Intel3
Employee
312 Views

The idb debugger is not integrated with Eclipse except in the 9.1 product currently in beta test. If you are using 9.0 or 8.1, you can use gdb in Eclipse. Which version Intel compiler product are you using?

Bill

0 Kudos
mhadian
Beginner
312 Views
mine is Intel C++ Compiler for Linux* v9.0

Build id: 20050421

and integrated with Eclipse Platform Version: 3.0.1
Build id: 200409161125

how can i debug the code by gdb in it "line by line"?
0 Kudos
William_H_Intel3
Employee
312 Views

You need to create a debug launch configuration. For details of how to do this, follow these steps in Eclipse. Open Help > Help Contents and expand the C++ Development User's Guide. In the User's Guide expand "Tasks" then "Running and Debugging Projects". Here you should see "Creating or Editing a run/debug configuration".

Hope that helps...Bill

0 Kudos
Reply