Launch Configuration for Makefile Project [message #652295] |
Thu, 03 February 2011 13:56 |
Martin 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?
[Updated on: Thu, 03 February 2011 20:08] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03519 seconds