I don't manage to set a debug configuration [message #765663] |
Wed, 14 December 2011 13:36 |
Harry Houdini 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02491 seconds