delve/pkg/terminal
Yasushi Saito 82aff3f18a Extend the "frame" command to set the current frame. (#1110)
* Extend the "frame" command to set the current frame.

Command

  frame 3

sets up so that subsequent "print", "set", "whatis" command
will operate on frame 3.

  frame 3 print foo

continues to work.

Added "up", "down". They move the current frame up or down.

Implementation note:

This changes removes "scopePrefix" mode from the terminal/command.go and instead
have the command examine the goroutine/frame value to see if it is invoked in a
scoped context.

* Rename Command.Frame -> Command.frame.
2018-03-22 10:02:15 -07:00
..
command_test.go Extend the "frame" command to set the current frame. (#1110) 2018-03-22 10:02:15 -07:00
command.go Extend the "frame" command to set the current frame. (#1110) 2018-03-22 10:02:15 -07: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 all: Spelling 2018-03-20 11:05:35 +01:00