N
N
Nordman992020-12-14 14:58:05
Eclipse
Nordman99, 2020-12-14 14:58:05

How to compile in Debug with creation of debug symbols in Eclipse IDE?

Good day everyone! Tell me how to compile in Debug with the creation of debug symbols in the Eclipse IDE? I compile in Debug, but the output is only an exe file, I don’t see any other files in the output, I compile using MINGW, gcc read a few docks on gcc - the -g option is needed to create debug symbols, but as I see it when compiling with gcc in debug mode eclipse doesn't add -g option

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuriy Vorobyov, 2020-12-16
@Nordman99

RMB on the project -> Properties -> C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler -> Miscellaneous. There will be Other flags, we enter everything there. You can also see here , here , here and here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question