delve/pkg/proc
aarzilli 60c58acb8e proc,service: display return values when stepping out of a function
Displays the return values of the current function when we step out of
it after executing a step, next or stepout command.

Implementation of this feature is tricky: when the function has
returned the return variables are not in scope anymore. Implementing
this feature requires evaluating variables that are out of scope, using
a stack frame that doesn't exist anymore.

We can't calculate the address of these variables when the
next/step/stepout command is initiated either, because between that
point and the time where the stepout breakpoint is actually hit the
goroutine stack could grow and be moved to a different memory address.
2018-06-12 11:35:56 +02:00
..
core proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
gdbserial proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
native proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
test tests: call RunTestsWithFixtures everywhere we use BuildFixture 2018-06-08 11:39:47 -07:00
arch.go proc: handle new way of panic'ing in 1.11 2018-06-11 11:09:02 -07:00
bininfo.go proc: use new extended attribute to resolve concrete type of interfaces 2018-06-11 11:09:02 -07:00
breakpoints.go proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
disasm_amd64.go proc,dwarf/line: support is_stmt and prologue_end flags 2018-06-11 11:09:02 -07:00
disasm.go proc,vendor: show global variables in disassembly 2018-03-22 10:01:00 -07:00
doc.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
dwarf_expr_test.go proc: support inlining 2018-03-26 14:30:38 -04:00
eval.go pkg/proc: respect specified load configuration after reslicing a map 2018-06-08 13:20:54 -07:00
interface.go proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
mem.go proc: change memCache to delay reading 2018-04-23 10:13:21 -07:00
moduledata.go proc: use new extended attribute to resolve concrete type of interfaces 2018-06-11 11:09:02 -07:00
proc_general_test.go proc: change memCache to delay reading 2018-04-23 10:13:21 -07:00
proc_test.go proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
proc_unix_test.go proc: remove proc.Process.Kill 2018-03-06 09:06:19 -08:00
proc.go proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
registers_amd64.go pkg/proc, pkg/dwarf/op: support DW_OP_piece, DW_OP_regX, DW_OP_fbreg 2017-11-21 11:51:02 -08:00
registers.go proc: refactor stack.go to use DWARF registers 2017-11-17 10:17:24 -08:00
scope_test.go proc: support inlining 2018-03-26 14:30:38 -04:00
stack.go proc: handle new way of panic'ing in 1.11 2018-06-11 11:09:02 -07:00
threads.go proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
types.go proc: use new extended attribute to resolve concrete type of interfaces 2018-06-11 11:09:02 -07:00
variable_test.go Extend the "frame" command to set the current frame. (#1110) 2018-03-22 10:02:15 -07:00
variables.go proc: in go1.11 runtime.g.waitreason is not a string 2018-06-11 11:09:02 -07:00