D
D
Dmitry Rotaty2016-09-17 21:18:54
go
Dmitry Rotaty, 2016-09-17 21:18:54

How to debug Go applications in Idea?

Hello. I started learning to write in Go, chose Idea as an IDE. I installed a plugin for working with go, but the problem is that the debugger does not work. Moreover, if you run the program for debugging without breakpoints - everything is fine, but if you put at least one dot - the error c falls

runtime.goexit()
  /usr/local/go/src/runtime/asm_amd64.s:1696 +0x1
Process finished with exit code 2
at the end
The search for a solution to the problem did not end with anything: they wrote about delve (did not work), some special idea debuger settings (they are not in the 2016.2 version). Well, in general, it does not work at all. Nothing was answered on the stack , but perhaps it should be easier to write.
Tell me who knows how to fix the debugger, or can change the ide so that everything works.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
x32net, 2016-10-18
@x32net

Change IDE, for example to LiteIDE.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question