-
Notifications
You must be signed in to change notification settings - Fork 645
Debugger hangs in OSX #269
Comments
Could you try updating to the latest vscode-go (currently 0.6.35)? There were some fixes for recent breaking changes in the VS Code debugger which may be what you are hitting. |
I updated to 0.6.35 I'm still getting the hanging, but now I have some information in the debug console
|
Sounds like you possibly haven't installed Delve according to the instructions: https://github.com/derekparker/delve/blob/master/Documentation/installation/osx/install.md? The |
Ah, it was delve. Thanks for pointing me in the right direction. I had to set trust levels higher on my cert before signing. Thanks! |
This is pretty easy to get wrong on the Mac with so many manual steps. I missed the step to set In keychains select “System”, and you should find your new certificate. Use the context menu for the certificate (not the public or private keys), select “Get Info”, open the “Trust” item, and set “Code Signing” to “Always Trust”. After enabling that and making the |
I am having the same problem, have followed the install instructions for delve, and no errors when |
I had a lot of issues getting that to work too. Make sure you are setting the trust levels high enough before you sign it. And it may take multiple tries. It's really a delve issue. You'll see the same problem if you run dlv manually. |
Yeah - installing Delve on OS/X is unfortunately still a manual process. @steeve just shared a HomeBrew formula that may help folks https://github.com/derekparker/delve/issues/508, and @derekparker is working on producing signed binaries out of the Delve release process https://github.com/derekparker/delve/issues/494. These should help here. |
It happens on all code. When I start the debugger, it looks like its starting but just hangs. I don't get any errors, and there is nothing in the debug console.
Go: 1.6
Delve: v0.11.0-alpha
VS-Code: 0.10.11
vscode-go: 0.6.30
The text was updated successfully, but these errors were encountered: