How do I debug a program written in the Go language?

前端 未结 9 1117
予麋鹿
予麋鹿 2021-02-02 06:17

How do I debug a Go program? I have been using the Gedit Go IDE, but it doesn\'t have debugging. Is there a way to step though my code and inspect memory? Or am I stuck with

9条回答
  •  别那么骄傲
    2021-02-02 06:52

    Get the JetBrains Toolbox, download GoLand, click on the left side of the editor, and it'll set a breakpoint.

提交回复
热议问题