GoLand's debugger has bug - incorrectly dumps memory instead of displaying variable

已回答

When I make the call on line 168 of this file the value of resetType is in my testing "ForceRestart".

When I get to the function PowerOperation the debugger shows:

However, if you run `fmt.println(resetType)` it will appropriately print "ForceRestart". You can also see in line 121 that the conditional `resetType == "ForceRestart"` results in true and that I can step into that conditional:

0

Hi,

Could you please confirm that the issue is reproducible on the latest Beta 4 version?

0

Daniil I installed the beta - it's still bugged (or I'm doing something silly which is certainly possible):

0

Thanks. What exact steps to initialize the debugger and run your application? I've installed terraform, but is there a way to reproduce the issue locally?

0

请先登录再写评论。