Skip to content

Tests can get "stuck" and appear to run endlessly #125

@jnz86

Description

@jnz86

Using Linux Mint host, remote development container using Ubunutu.

  1. Debugging works fine, ending the session does not show the extension that anything has ended. The timer for how long the test has run continues forever, until the STOP button is pressed.

  2. Running a test rapidly, will result in the same. The last run test ends. The previous tests will not run and will show the timer counting up forever. Again, pressing the STOP button is the resolution.

See video:
https://github.com/numaru/vscode-ceedling-test-adapter/assets/26825637/4feed85d-3e83-438c-a1db-cce2371d7e54
(On my own machine and Firefox, this link does not work, I had to download to view it)

Relevant portion of my launch.json

        {
            "name": "Ceedling Test Explorer Debug",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}/build/test/ceedling/test/out/${command:ceedlingExplorer.debugTestExecutable}",
            "args": [],
            "stopAtEntry": true,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "miDebuggerPath": "/usr/bin/gdb",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": false
                }
            ]
        }

I didn't know if this was known, or unavoidable, or there is a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions