delve/service
aarzilli 21be59469a proc: cache entire frame in FrameToScope instead of variablesByTag
Caching the frame in variablesByTag is problematic:

1. accounting for variables that are (partially) stored in registers is
complicated (see issue #1106)
2. for some types (strings, interfaces...) simply creating the Variable
object reads memory, which therefore happens before we can do any
caching.

Instead cache the entire frame when the EvalScope object is created.
The cached range is between the SP value of the current frame and the
CFA of the preceeding frame, if available, or the CFA of the current
frame otherwise.

Fixes #1106
2018-04-23 10:13:21 -07:00
..
api all: Spelling 2018-03-20 11:05:35 +01:00
debugger proc: cache entire frame in FrameToScope instead of variablesByTag 2018-04-23 10:13:21 -07:00
rpc1 command/terminal: allow restart to change process args (#1060) 2018-01-18 14:16:11 -08:00
rpc2 all: Spelling 2018-03-20 11:05:35 +01:00
rpccommon command/terminal: allow restart to change process args (#1060) 2018-01-18 14:16:11 -08:00
test tests: cache and delete fixtures built with non-zero flags 2018-04-19 13:28:11 -07:00
client.go command/terminal: allow restart to change process args (#1060) 2018-01-18 14:16:11 -08:00
config.go dlv: make headless servers quit automatically when client disconnects (#895) 2017-06-26 11:45:13 -07:00
rpccallback.go Replaced net/rpc with custom version 2016-07-02 12:16:06 +02:00
server.go misc: cleanup and documentation 2016-01-10 02:10:51 -08:00