"No symbol.." error pop-ups while debugging

I’m facing a problem in VS Code which, if fact, is more of an annoyance than a problem. While debugging, as I hoover over macros, structs, variables, or pointer, a pop-up warning (from the bottom right corner) shows up instantly. I get two errors:

But otherwise debugging a target device is done without issues. I just keep getting these errors and cannot tell what are they referring to, since nothing is actually wrong. Any ideas how to solve this issue or at least prevent these notifications from popping up?

EDIT:

I need to point out that I have tried several different options of generating compiler symbols. Since I’m using the arm-none-eabi-gcc compiler, I individually tried the following options: -g, -ggdb, -gdwarf, -gstabs (in addition to disabling all optimizations and leaving only -O0) but none of them affected the outcome. It seems the might be some issue with GDB and symbols being generated by the compiler.