|Re: Debug build not working as expected [message #1848194 is a reply to message #1848184]
||Wed, 24 November 2021 15:42
Registered: October 2012
Well, what you've actually done for one.|
If you're new to Eclipse you should understand how Eclipse works.
Eclipse is not an IDE in the same sense as MSVC is an IDE which only has
one goal: produce Windows applications.
Eclipse is really a fancy editor. It doesn't compile or link your programs.
In fact, it doesn't have the capability built in. It relies on compilers and linkers
maintained by third parties. It doesn't even call them directly but relies
on external build systems (currently, Make, CMake, and Meson) to do so.
Furthermore, it assumes you already know how to use the external
tools. It is in your best interest to learn how to use them outside of
Eclipse it you don't already know.
Eclipse/CDT was originally built around using Make and has the most
support for it supplying only rudimentary support for the others. By
"support" I mean the capability to specify your intentions to the build
system to allow it in turn to communicate them to the compiler and
linker. The build system is executed to actually build your application.
If you are familiar with any of those systems, it should be fairly obvious
what Eclipse is doing. The only real issue would be where to find it among
all of the menu items.
Clearly, which ever one you are using hasn't been told to tell the
compiler and linker to produce debug information in your executable.
How that is done depends a lot on what you are using.
Powered by FUDForum
. Page generated in 0.02287 seconds