GoLand - Unable to get debugger running

Hi, I'm using GoLand 2018.1.5 and am unable to get the debugger running on my Mac 

App is under the /src folder and builds normally

If I try run a debugger using Go Build configuration all I get is "unable to find function context"

 

0
6 comments

Hello,

 

In order to better understand what's happening, we need some additional information.

Go to "Help | Debug Log Settings..." and add the following line "#com.goide.dlv.DlvVm" (with the "#" sign).
Then try and debug the application as you are used to, and go back to "Help | Debug Log Settings..." and remove that line.
Then go to "Help | Compress Logs And Show in..." and you'll have a zip file with the IDE logs and the debug information for delve.

Please open an issue on our tracker and attach these logs, you can use the "jetbrains-team" visibility for the attachment in order to restrict the visibility for them.

Thank you.

0
Avatar
Permanently deleted user

Compressed logs are over 130Mb, also may contain sensitive data so I'm not comfortable posting them.

0

Then is there a way for us to replicate the issue?
Does this happen in an open-source project as well?
From what I can see in that screenshot, the IDE is trying to display the contents of a goroutine which not valid, and it seems that the debugger isn't stopped at the moment the screenshot was taken.

The only other explanation that I can think of is that the debugger couldn't start properly because it was denied by the security policies on the system. But, without the logs or a way to replicate this, I can't tell what's happening in the system.

0
Avatar
Permanently deleted user

Hi, Just tried it in a simple Hello World app, same result. 

Log files seam to include my WebStorm logs too, is this correct?

0
Avatar
Permanently deleted user
0

Thank you. Let's continue the discussion there.

0

Please sign in to leave a comment.