4 ms·
Does go even have any good command-line debuggers? All of the things I've seen either involve insanity like preprocessing your source to inject hooks in between
by jmgao 11y ago
Does go even have any good command-line debuggers? All of the things I've seen either involve insanity like preprocessing your source to inject hooks in between each line of code, or don't actually work.
- pjspycha 11y agoDelve is an open source debugger for go. And many editors can work with delve such as Visual Studio Code. There is an animated gif of the debugger on the vscode-go page. https://github.com/derekparker/delve https://github.com/derekparker/delve https://github.com/Microsoft/vscode-go https://github.com/Microsoft/vscode-go
- pjmlp 11y agoDue the way Delve rewrites Go source code and relies on having it available, I wouldn't call it a debugger.