Friday, May 31, 2019

Re: Debug Tool for golang

On 5/31/19 5:28 PM, Ted Unangst wrote:
> Kevin Chadwick wrote:
>> Does anyone debug golang on OpenBSD and can advise on llvm/gcc or provide any
>> other insight?
>
> I just use log.
>

Yep, not missing a trick then and apparently the old recommendation, Thanks all.

https://blog.golang.org/debugging-go-code-status-report

"When it comes to debugging, nothing beats a few strategic print statements to
inspect variables or a well-placed panic to obtain a stack trace. However,
sometimes you're missing either the patience or the source code, and in those
cases a good debugger can be invaluable. That's why over the past few releases
we have been improving the support in Go's gc linker (6l, 8l) for GDB, the GNU
debugger."

No comments:

Post a Comment