R
R
Roman Rakzin2016-03-20 16:54:24
go
Roman Rakzin, 2016-03-20 16:54:24

Crashing a golang program. How to find a bug?

How to track the crash of a golang program?
There is an exception somewhere that I can't find to fix and the program crashes. There is a lot of code, which makes it difficult to find the error.
Is it possible somehow (preferably without complicated testing methods) to find out what causes the error, in order to know in which direction to move?
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AmikoYuki, 2016-03-20
@AmikoYuki

There is no exception handling in go, but there are (Defer, Panic and Recover) use them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question