This is unrelated to the debugger, this is intellisense misbehaving. I recommend switching to Clangd, overall I find it to be a more reliable alternative to the stock C++ intellisense.
↧