I've spent the past few days on two bugs where Go programs were segfaulting. In both cases the coredumps were less helpful than nothing at all -- if you want a useful coredump use GDB (which will stop the program on the first SIGSEGV) and then run "gcore" to get a corefile.
-
-
Prikaži ovu nit
-
Though at that point, you could just do the debugging in-situ. And note that delve (while it does have some nice features) does not appear to have the same behaviour as GDB wrt signals and pausing (and also has trouble running some programs like container runtimes as a debugger).
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.