I don't manage to set a debug configuration [message #765663] |
Wed, 14 December 2011 08:36  |
Eclipse User |
|
|
|
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 08:53] by Moderator
|
|
|
Re: I don't manage to set a debug configuration [message #765680 is a reply to message #765663] |
Wed, 14 December 2011 09:17  |
Eclipse User |
|
|
|
Oodini wrote on Wed, 14 December 2011 08:36When 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.
|
|
|
Powered by
FUDForum. Page generated in 0.02868 seconds