delve/pkg
aarzilli 932aad9e3d terminal: disable next/step/stepout if current frame isn't 0
next/step/stepout should work even if the current frame isn't the
topmost stack frame, but their behavior should be different in that
case (they should continue inside the function of the selected frame).

Most of the logic of next/step/stepout would work correctly if we
simply replaced the call to proc.topframe with something that took a
frame index. However the breakpoint they set on the first deferred
function is wrong, and fixing it requires scanning the defer stack and
matching it to the call stack, something we can't do yet.

Given that enhancing next/step/stepout will take time and the current
behavior confuses users (see issue #1240) return an error if
next/step/stepout are called while the currently selected frame isn't
frame 0.

Updates #1240
2018-07-23 11:33:35 -07:00
..
config config: Return handle for created default config (#1130) 2018-02-20 20:24:05 +01:00
dwarf dwarf/line: remove foundFile "optimization" from LineToPC 2018-07-23 10:08:28 -07:00
goversion proc: correctly set G struct offset for 1.11 2018-06-11 11:09:02 -07:00
logflags *: function call injection for go 1.11 2018-07-13 13:37:54 -07:00
proc dwarf/line: remove foundFile "optimization" from LineToPC 2018-07-23 10:08:28 -07:00
terminal terminal: disable next/step/stepout if current frame isn't 0 2018-07-23 11:33:35 -07:00
version all: Bump to v1.0.0 (#1126) 2018-02-19 21:33:47 +01:00