Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » I don't manage to set a debug configuration
I don't manage to set a debug configuration [message #765663] Wed, 14 December 2011 13:36 Go to next message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
Hello,

I have a single project imported from a makefile created with CMake.
This makefile/project creates several executable programs and libraries when compiled.

I'd like to be able to debug any library contained in this project, and used by one of the executable program also defined in the project.

I use Indigo.

The documentation is poor regarding debugging, and above all, obsolete, as all tutorials I found on the net.

What kind of debug project should I create ? I chose C/C++ Local application.

Here are my settings :

Main tab :
C/C++ application : path to the executable program, alredy compiled
Project : name of the project containing all the code for the executable programs and libraries
Build configuration : "Select configuration..." checked
Use workspace setting

Arguments tab :
Program arguments : all the arguments I put usually on the command line; I used absolute paths for one of them
Working directory : Use default

Environment tab :
didn't change anything (empty)

Debugger tab :
Stop on startup main : checked
Main tab : didn't change anything, except "GDB command file", now empty
Shared libraries : didn't change anything (empty)
Load shared libraries automatically : checked

Source tab :
didn't change anything (empty); one entry to the project

Common tab :
didn't change anything


When I launch the debug, the console tells me it doesn't find a source located in the project.

Thanks for help.

[Updated on: Wed, 14 December 2011 13:53]

Report message to a moderator

Re: I don't manage to set a debug configuration [message #765680 is a reply to message #765663] Wed, 14 December 2011 14:17 Go to previous message
Harry Houdini is currently offline Harry HoudiniFriend
Messages: 142
Registered: February 2010
Senior Member
Oodini wrote on Wed, 14 December 2011 08:36
When I launch the debug, the console tells me it doesn't find a source located in the project.


Well, I had a problem in my arguments, and the execution stopped, and left me this message in the debugging log.

I resolved the argument problem. The debugging message still occurs, but disappears very quickly, and I'm then be able to debug.
Previous Topic:New target CDT (remote debug)
Next Topic:how to get build configuration of project
Goto Forum:
  


Current Time: Sat Apr 27 05:03:37 GMT 2024

Powered by FUDForum. Page generated in 0.02491 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top