README.txt
June 1, 2019 ยท View on GitHub
HOW TO USE
Each subdirectory has one or more go files and a README.txt file. Open README.txt and follow the instructions.
Tests 1 - 3 involve different ways to start delve. Tests 4 - 6 deal with breakpoints in concurrent programs, they all require a multicore computer with GOMAXPROCS unset or set to >1. Tests 7 - 10 deal with miscellaneous features. Tests 11 - 18 deal with variable loading and visualization, they all require a GUI client
This is a more detailed summary of all tests:
- debug a _test.go file
- debug a core file
- let's users specify a --log-output parameter
- dealing with simultaneous breakpoint triggering on multiple goroutines
- dealing with breakpoints during next/step/stepout
- can request a manual stop
- can show disassembly and CPU registers (and keep it up to date with the current instruction)
- can show local variables of different goroutines or different frames, can execute next in a different goroutine
- displays a warning when stepping through a stale executable
- setting a breakpoint on a function should result in the breakpoint being after the prologue
- shows shadowed variables in a way that is distinct from visible variables
- can evaluate arbitrary expressions
- continue loading strings
- continue loading slices
- continue loading maps
- continue loading pointers
- continue loading interfaces
- displaying a map[int]string should not be confusing
- unreadable variables should be shown as such
- the debugger should run fast even in presence of very deep stacks, a large number of goroutines or very large variables
- dealing with compiler-autogenerated stubs
2019 results: https://gist.github.com/aarzilli/f3b69cadc6d8968e3e7784eb0d486d76