Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Problems using the Debug Mode in Indigo
Problems using the Debug Mode in Indigo [message #760694] Sun, 04 December 2011 05:25 Go to next message
Eclipse UserFriend
Hi,

im working on a c++ makefile project in indigo. Running and building the application from within eclipse works fine. I set the command line parameters and it worked properly.
But when i want to debug the project i get the following problem: No source available for "main() at 0x436a70" . I assume the project is compiled without debug information, but how can i fix that problem?

thanks for your help.

regards,
barelli
Re: Problems using the Debug Mode in Indigo [message #760707 is a reply to message #760694] Sun, 04 December 2011 09:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

so I tried a bit around and got it working, but its dirty. I should have mentioned that the project uses autotools.
I tried to call ./configure with CXXFLAGS=-g, but this didn't work, the resulting Makefile did not have the -g flag set. So i typed in manually into the Makefile. Now, when debugging from eclipse no error message is displayed and debugging works.
But as I said this is not a nice way.
Does someone know how i achieve these steps correctly using autotools?

regards,
barelli
Re: Problems using the Debug Mode in Indigo [message #760848 is a reply to message #760707] Mon, 05 December 2011 07:41 Go to previous message
Eclipse UserFriend
http://www.eclipse.org/linuxtools/projectPages/autotools/
Previous Topic:Static check of identifier length
Next Topic:Delay after adding includes to recognize objects
Goto Forum:
  


Current Time: Wed Jul 30 18:47:26 EDT 2025

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

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

Back to the top