Affected versions: 2019.2 and later
An attempt to run coverage analysis with dotCover console runner fails with the error:
[JetBrains dotCover] Coverage session finished with errors: Can’t find symtab section in the ELF file
[file name] = /usr/share/dotnet/shared/Microsoft.NETCore.App/3.0.1/libcoreclr.so.
dotnet-sdk-3.0.deb package for Ubuntu 18.04 comes with the stripped libcoreclr.so symbols file. As a result, dotCover profiler is unable to start a coverage session.
Get the libcoreclr.so symbols file by running the following commands:
sudo dotnet tool install -g dotnet-symbol
sudo dotnet-symbol <path to dotnet>/libcoreclr.so