I was used to use VisualGDB for programming STM, ESP, other MuC on older Windows systems. I did a clean installation of Windows 11, VS2022 and I’m not able to install any tootchain, device, etc. writing a problem unexpected download size. Please advice
This looks like your firewall is interfering with the network connection in some way. You can try downloading the toolchains/BSPs manually or adding VisualGDB to the exception list.
If you are normally using a proxy, you can configure it via Tools->Options->VisualGDB->General->Other->Proxy Server.