Skip to content

Commit

Permalink
service/debugger: fix comment on EvalVariableInScope (go-delve#3225)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreimatei authored Dec 20, 2022
1 parent 00df758 commit 983624c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/debugger/debugger.go
Original file line number Diff line number Diff line change
Expand Up @@ -1561,8 +1561,8 @@ func (d *Debugger) Function(goid int64, frame, deferredCall int, cfg proc.LoadCo
return s.Fn, nil
}

// EvalVariableInScope will attempt to evaluate the variable represented by 'symbol'
// in the scope provided.
// EvalVariableInScope will attempt to evaluate the 'expr' in the scope
// corresponding to the given 'frame' on the goroutine identified by 'goid'.
func (d *Debugger) EvalVariableInScope(goid int64, frame, deferredCall int, expr string, cfg proc.LoadConfig) (*proc.Variable, error) {
d.targetMutex.Lock()
defer d.targetMutex.Unlock()
Expand Down

0 comments on commit 983624c

Please sign in to comment.