Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] No source available for "main() "

hey, there,

I imported an existing C project with working Makefiles. And in the
project property, I ticked off "Use default build" and "Generate
Makefile Automatically", and I supplied the Bulding command
"/usr/bin/make". The project build smoothly and run without problem.
And in the editor windows, CTRL+click on variable names, types or
macros,  leads me to all right places.

However I can not debug it. The error is No source available for
"main() " . I setup the Source  in the Run/Debug Dialog in all
possible ways I can imagine, and get the same error. There is another
executable generated in a deep subdirectory, and I can at least see
the debug window for it, click on Step Over, however, I see the
highlights jumps around in its source file randomly. It seems that I
missed something. Please help me out, thanks!

Best Regards,
Michael Chen

Ubuntu 8.04 - the Hardy Heron - released in April 2008

Build id: M20071023-1652

Version 4.03 20080225

Back to the top