Visual Studio Freezes when selecting a Unit Test with Simulation Platform

Sysprogs forums Forums VisualGDB Visual Studio Freezes when selecting a Unit Test with Simulation Platform

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #31247
    bbr
    Participant

    Hello,

    when I select a single unit test in the Test Explorer of a embedded project with a simulation platform visual freezes.

     

    Steps to reproduce:

    1. Follow the Creating Simulation Platforms to Test Embedded Code without Hardware tutorial until step 14 to have working embedded demo project with a simulation platform active.
    2. Note that running all unit tests works fine.
    3. Note that selecting or running a test group (“DemoTestGroup”) works fine.
    4. However, when selecting a single test (e.g. “FailingTest”) in the Test Explorer Visual Studio freezes and must be closed via Task Manager

    Visual Studio Profesional 2019 Version 16.11.2
    VisualGDB Version: 5.6 (Beta 4, build 4225)

     

    #31250
    support
    Keymaster

    Hi,

    Please try attaching another Visual Studio instance to the frozen one and obtaining the call stack as shown on this page. Please attach the call stack here and we will investigate it further.

    #31251
    bbr
    Participant

    Hi,

     

    attached is the call stack of the main thread and the mentioned lock owning Thread 9948.

    Attachments:
    You must be logged in to view attached files.
    #31258
    support
    Keymaster

    Thanks, we have reproduced the problem on our side. Turns out, the latest Visual Studio 2019 freezes when trying to select a test without a source location (this only affects the simulation platform, as VisualGDB does not support parsing of the DWARF symbols in Win32 EXEs).

    We have updated VisualGDB to report a dummy location for these tests. Please try this build: VisualGDB-5.6.5.4323.msi

    #31260
    bbr
    Participant

    Hi,

    thank you, the new build solved the issue.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.