Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

Missing C++ namespaces

14-Mar-2024

How to add full debug C++ symbols in ELF files using GCC compiler options to avoid missing C++ namespaces (e.g., in a Watch window)?


Solution

Enter the following GCC compiler options to add full C++ debug symbols in ELF:

-femit-class-debug-always
-x c++ -std=c++11 -g3 -gdwarf-4


More resources

Was this answer helpful?

Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.

Similar topics

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No similar topics found!

Other topics in the same category

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!