VS 2019 crashes while debugging Cuda

Repro steps:
Put below code anywhere, debug and hover over “ttt”. Windows, VS, Nsight, SDK and drivers are up-to-date.

struct Vec3
{
    __device__ Vec3() {}

    float x;
    float y;
    float z;
};

struct SomeStruct
{
    __device__ SomeStruct() {}

    Vec3 m1[3];
    Vec3 m2[3];
};

SomeStruct ttt = SomeStruct();
int gg = sizeof(ttt);

I am not able to reproduce this. I get a tooltip with ttt info (as expected)

Thanks for trying, on our end we could try matching your environment. Any relevant info would help, Visual Studio version (we have Pro), GPU (we have 2070 and 3090), etc.

Microsoft Visual Studio Professional 2019 Version 16.4.4
GPU P2000 : (

What version do you have? Our QA has a wide array of configs. Perhaps they can repro.

I’ve updated everything to latest, VS 2019 16.9.4, Nsight 2021.1. Will try reverting to 16.4.4, but a professional card would be harder to come by.

Hello @deniss.kocergins. Thank you for your patience. This issue seems to have been fixed as part of the changes in our upcoming CUDA Toolkit 11.4 Update 1 release. Please keep an eye out for the release and let us know if you are still seeing the issue once you upgrade to CUDA Toolkit 11.4 Update 1.

Thank you, assuming it will be released sometime in August.