Variables missing from the structure or two structures in the ELF with the same name but slightly different types are usually caused by compiler excessive code optimization.
winIDEA offers an option to control resolution of variable location from Symbol table.
1. Open Debug menu / Configure Session / Applications / Symbol Files.
2. Select ELF download file.
3. Press Edit.
4. Press Advanced.
5. In the Edit options dialog disable Use symbol table for variables with no location which will disable loading of variables with no address in .debug_info.
If enabled (default) winIDEA will try to resolve variable location by querying symbol table.
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.
{{ topic.Content }}