CDT 2020-06 - 2 strange problems on Fedora 32 [message #1830731] |
Sat, 01 August 2020 17:57  |
Eclipse User |
|
|
|
I've been struggling with 2 problems since upgrading to Eclipse CDT 202-06 on Fedora 32; I can't find any references to similar problems either here or at the Fedora forum.
Problem 1: I can't get code completion to work in any C++ source files either automatically after typing "." or "->" or with Ctrl-Space - all I get is "no default proposals" in the list. The indexer appears to be working fine, when I type in a library function for example, the colour coding is correct. The Windows-Preferences-C++-Editor-Code completion boxes are all checked as they should be and the project has no project-specific editor settings. I have no clue as to what's missing.
Problem 2: when debugging C++ code in the Debug perspective, it steps happily through the code until a range-for statement (eg "for (auto x : xs) {...}") - it hangs for a second or two then terminates with -1 on exit. If I set a breakpoint at the first statement inside the range-for block and run to there then no problem. Similarly, if I replace the range-for with a for-loop using standard iterators, there is again no problem. I'm using gdb version 9.1-5 and gcc version 10.2.1 (the current packages for the Fedora 32 Workstation distro).
Hopefully I'm missing something obvious, but I know that there have been a few issues with Eclipse in Fedora since Fedora 31.
Thanks in advance,
Mike
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27470 seconds