• Y
    Extend the "frame" command to set the current frame. (#1110) · 82aff3f1
    Yasushi Saito 提交于
    * 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.
    82aff3f1
variable_test.go 1.3 KB