{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/321","repository_url":"https://api.github.com/repos/Microsoft/vscode-go","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/321/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/321/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/321/events","html_url":"https://github.com/Microsoft/vscode-go/issues/321","id":153871190,"number":321,"title":"Setting breakpoints seems to no longer work","user":{"login":"dylan-bourque","id":17787771,"avatar_url":"https://avatars.githubusercontent.com/u/17787771?v=3","gravatar_id":"","url":"https://api.github.com/users/dylan-bourque","html_url":"https://github.com/dylan-bourque","followers_url":"https://api.github.com/users/dylan-bourque/followers","following_url":"https://api.github.com/users/dylan-bourque/following{/other_user}","gists_url":"https://api.github.com/users/dylan-bourque/gists{/gist_id}","starred_url":"https://api.github.com/users/dylan-bourque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylan-bourque/subscriptions","organizations_url":"https://api.github.com/users/dylan-bourque/orgs","repos_url":"https://api.github.com/users/dylan-bourque/repos","events_url":"https://api.github.com/users/dylan-bourque/events{/privacy}","received_events_url":"https://api.github.com/users/dylan-bourque/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-09T21:12:05Z","updated_at":"2016-05-16T08:02:53Z","closed_at":null,"body":"After a recent update to either VS Code, the extension or the Delve debugger, I am no longer able to debug my Go programs.  Setting a breakpoint from within the IDE seems to work correctly (I see the red dot for the breakpoint in the gutter) but when I launch the application none of my breakpoints are set.  They all show greyed out in the gutter and the tooltip says \"Unverified Breakpoint\" when I hover my mouse over the indicator.\r\n\r\nWhen I launch my application within the Delve debugger directly (via `dlv debug` or `dlv exec`), I am able to set breakpoints and step through the code.\r\n\r\nPlease feel free to contact me directly if you need more details.\r\n\r\nEnvironment:\r\n> Linux (CentOS 7)\r\n> Visual Studio Code ver 1.0.0\r\n> Go extension ver 0.6.38\r\n> Delve debugger ver 0.11.0-alpha\r\n\r\n$GOPATH/src/scratch/test.go:\r\n```Go\r\npackage main\r\nimport \"fmt\"\r\nfunc main() {\r\n   fmt.Println(\"This is a test.\")\r\n}\r\n```\r\n\r\n$GOPATH/src/scratch/.vscode/launch.json:\r\n```JSON\r\n{\r\n\t\"version\": \"0.2.0\",\r\n\t\"configurations\": [\r\n\t\t{\r\n\t\t\t\"name\": \"Launch\",\r\n\t\t\t\"type\": \"go\",\r\n\t\t\t\"request\": \"launch\",\r\n\t\t\t\"mode\": \"debug\",\r\n\t\t\t\"stopOnEntry\": true,\r\n\t\t\t\"remotePath\": \"\",\r\n\t\t\t\"port\": 2345,\r\n\t\t\t\"host\": \"127.0.0.1\",\r\n\t\t\t\"program\": \"${workspaceRoot}\",\r\n\t\t\t\"env\": {},\r\n\t\t\t\"args\": []\r\n\t\t}\r\n\t]\r\n}\r\n```\r\n\r\nThe console log in VS Code Developer Tools shows the following when I launch the debugger:\r\n> [Mon May 09 2016 15:16:58] [ERROR] \r\n> rawDebugSession.ts:225waiting for debug protocol on stdin/stdout\r\n> shell.ts:477Did not get a thread from debug adapter with id 0.: Error: Did not get a thread from debug adapter with id 0.\r\n>     at file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:99:26579\r\n>     at Object.h [as _notify] (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:23:17893)\r\n>     at Object.n.undefined.R.enter (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:23:21055)\r\n>     at n.undefined.t.Class.define._run (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:23:22881)\r\n>     at n.undefined.t.Class.define._completed (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:23:22322)\r\n>     at Object.h [as _notify] (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:23:17893)\r\n>     at Object.n.undefined.R.enter (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:23:21055)\r\n>     at n.undefined.t.Class.define._run (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:23:22881)\r\n>     at n.undefined.t.Class.define._completed (file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:23:22322)\r\n>     at file:////usr/share/code/resources/app/out/vs/workbench/workbench.main.js:78:29067\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/comments/219370722","html_url":"https://github.com/Microsoft/vscode-go/issues/321#issuecomment-219370722","issue_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/321","id":219370722,"user":{"login":"federaldi","id":871742,"avatar_url":"https://avatars.githubusercontent.com/u/871742?v=3","gravatar_id":"","url":"https://api.github.com/users/federaldi","html_url":"https://github.com/federaldi","followers_url":"https://api.github.com/users/federaldi/followers","following_url":"https://api.github.com/users/federaldi/following{/other_user}","gists_url":"https://api.github.com/users/federaldi/gists{/gist_id}","starred_url":"https://api.github.com/users/federaldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/federaldi/subscriptions","organizations_url":"https://api.github.com/users/federaldi/orgs","repos_url":"https://api.github.com/users/federaldi/repos","events_url":"https://api.github.com/users/federaldi/events{/privacy}","received_events_url":"https://api.github.com/users/federaldi/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T08:02:53Z","updated_at":"2016-05-16T08:02:53Z","body":"I'm running the latest vscode version.\r\n\r\n1. open the golang project in vscode \r\n2. open a go source file \r\n3. set a breakpoint in a valid location and notice it is red -> so it is valid\r\n4. start your debug session \r\n5. notice the breakpoint turns to grey\r\n\r\nI couldn't yet establish a more narrow scenario, as sometimes it works, sometimes it doesn't [debugging]."}}