Saturday, May 4, 2024
HomeGolangVisible Studio Debugging - Breakpoints are ignored by editor - Technical Dialogue

Visible Studio Debugging – Breakpoints are ignored by editor – Technical Dialogue


Of us,
I’m searching for assist with my visible studio code setting. I implement golang assessments utilizing the bundle ““testing””. I used to be at all times capable of step by my code utilizing the breakpoints I outlined within the check. I just lately upgraded my golang model go model go1.17.1 darwin/amd64. I’ve confirmed that my goroot/gopath and goobin values are right. I can construct all my code however I’m unable to check and have the debugger cease on the breakpoint.

I’ve adopted all of the steps to create a launch configuration particular to my golang venture Debugging Go together with VS Code – LogRocket Weblog

When debugging the code won’t break/cease on the breakpoint. I’m noting the next error within the “Debug Console”
Warning: working listing ignored with dap; launch requests should specify full program path

I’d respect any assist/route with resolving this.

Have you ever tried upgrading your Go instruments?

1 Like

Right here is my launch.json, works accurately, do you may have related paths ?
Typically I’ve to uninstal go plugin and set up it once more, it helps with bizarre issues.

    "configurations": [
        {
            "name": "Launch",
            "type": "go",
            "request": "launch",
            "mode": "auto",
            "program": "${workspaceFolder}/${workspaceFolderBasename}.go",
            "env": {},
            "args": [
                "-c",
            ],
        },

1 Like

THANK YOU Tom/Sean for responding. I ended up having to manually set up the delve library to unravel the issue. I’m now capable of debug.
Admire the help.

This matter was routinely closed 90 days after the final reply. New replies are now not allowed.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments