Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jnz86 opened this issue Dec 5, 2023 · 1 comment
Open

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

jnz86 opened this issue Dec 5, 2023 · 1 comment

Comments

@jnz86
Copy link

jnz86 commented Dec 5, 2023

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.

@elliott-bfs
Copy link

I'm also experiencing this. Very different environment (Windows 11, using Microchip Debugger). This also seems to happen when I'm not debugging too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants