List of unit tests disappears

Sysprogs forums Forums VisualGDB List of unit tests disappears

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34561
    kx101
    Participant

    Hi,
    when working with VS2022 Test Explorer running C++ gtests against a Linux VM target
    the list of unit tests disappears randomly, especially after code changes.
    The only work around is to recompile everything which is a lengthy process.
    This is annoying.

    my environment:
    VisualGDB, Visual Studio 2022 17.6.5, Linux Ubuntu 22 on VMWare.

    #34560
    kx101
    Participant

    Hi,
    VS2022 Test Explorer randomly hangs.
    I am testing and debugging C++ gtest unit tests.
    Randomly the Test Exploer hangs and it is not possible to stop the session.
    Sometimes a message pops up VisualGDB can’t connect to the debug target.
    I have to restart the VM and Visual Studio 2022 to get it working again.

    my environment:
    VisualGDB, Visual Studio 2022 17.6.5, Linux Ubuntu 22 on VMWare.

    #34564
    support
    Keymaster

    Hi,

    We are not aware of this issue. It can be caused by a VS bug, interference with another plugin or something else.

    Please try checking if the problem persists on a clean project created from scratch. If no, please try to understand the differences between the clean project where the issue happens. It could be triggered by a specific setting.

    You can also try recording a video showing the problem on an existing project – if it’s something obvious, we will point it out.

    #34565
    kx101
    Participant

    Hi,
    i turned off all other VS plugins, no change.
    I installed your v6 Beta version and that fixed the problem. The list of unit tests doesn’t disappear
    anymore.
    One thing I noticed with v5.6:
    Just before the list disappears it pops up a message like “loading from cache” or so. It just
    very briefly pops up and then the list is gone.
    Anyways v6 Beta fixes the problem and continue working with that. Hope you have a release soon.

    • This reply was modified 9 months ago by kx101.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.