delve/pkg/terminal
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
..
command_test.go proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
command.go proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00
config.go all: Spelling 2018-03-20 11:05:35 +01:00
disasmprint.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
docgen.go Fix various issues detected by megacheck (#880) 2017-06-29 11:15:59 -07:00
terminal_other.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
terminal_test.go terminal: disable file path case normalization on macOS 2018-01-28 01:50:02 -08:00
terminal_windows.go Move top-level packages into pkg 2017-02-08 12:17:19 -08:00
terminal.go proc,service: display return values when stepping out of a function 2018-06-12 11:35:56 +02:00