Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Launch Configuration for Makefile Project
Launch Configuration for Makefile Project [message #652295] Thu, 03 February 2011 13:56 Go to next message
Martin is currently offline MartinFriend
Messages: 1
Registered: February 2011
Junior Member
Dear all,

I have tried for hours to get a program running in Eclipse. The source code comes from an existing project which I managed to include in Eclipse (thus eclipse automatically runs the makefile, shows the output of the compiler etc). Everything works fine.

Now I would like to debug the program, so I tried to add a launch configuration. Since the binary was built in a subdirectory it seems that Eclipse won't find it ("Search Project..." shows no binaries), so I added it using the "Browse..." button. This works, but apparently eclipse now just runs the binary, without letting me debug it. What do I have to do to add a launch configuration that let's me debug the program? I tried various things that I found in the various forums (Build location/directory, discovery options; output directory; etc) but it won't work :-/

I'm using eclipse for years, but never dived deep into the configuration.. now I'm a bit desperate.

Any tips for me?

Using Ubuntu 10 / Eclipse version Helios Service Release 1

Thanks a bunch,
Martin

Update: If I first compile and then create a new Project, Eclipse will find the binaries and I can create a launch Configuration. Imported the Debug Build Configuration from the Hello World Sample. Still, won't let me add breakpoints ("installation failed") and doesn't show the sources. Any ideas? Confused

[Updated on: Thu, 03 February 2011 20:08]

Report message to a moderator

Re: Launch Configuration for Makefile Project [message #1872848 is a reply to message #652295] Fri, 22 November 2024 23:29 Go to previous message
Promodkumar CM is currently offline Promodkumar CMFriend
Messages: 9
Registered: September 2020
Junior Member
I'm facing the same issue where importing a Makefile-based project doesn't automatically pick up the binary in thelaunch configuration. How did you fix this issue? What do you mean by compiling?
Previous Topic:How to get a list of all c files to be compiled in current configuration?
Next Topic:Encountered an error when importing an Eclipse project
Goto Forum:
  


Current Time: Mon Jan 20 03:54:02 GMT 2025

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

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

Back to the top