delve/pkg/locspec
Derek Parker f96663a243
cmd/dlv: Fix trace output (#2038)
* cmd/dlv,debugger: Improve dlv trace and trace command output

This patch improves the `dlv trace` subcommand output by reducing the
noise that is generated and providing clearer more concise information.

Also adds new tests closing a gap in our testing (we previously never
really tested this subcommand).

This patch also fixes the `dlv trace` REPL command to behave like the
subcommand in certain situations. If the tracepoint is for a function,
we now show function arguements and return values properly.

Also makes the overall output of the trace subcommand clearer.

Fixes #2027
2020-05-13 08:38:10 +02:00
..
doc.go cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00
locations_test.go cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00
locations.go cmd/dlv: Fix trace output (#2038) 2020-05-13 08:38:10 +02:00