mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
stack command: -full flag prints local variables and arguments of all the functions on the stack trace
This commit is contained in:
@ -104,7 +104,7 @@ func (g *G) chanRecvReturnAddr(dbp *Process) (uint64, error) {
|
||||
return 0, err
|
||||
}
|
||||
topLoc := locs[len(locs)-1]
|
||||
return topLoc.PC, nil
|
||||
return topLoc.Current.PC, nil
|
||||
}
|
||||
|
||||
// NoGError returned when a G could not be found
|
||||
|
||||
Reference in New Issue
Block a user