mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
proc,service,terminal: information about stack trace truncation
Add a flag to Stackframe that indicates where the stack frame is the bottom-most frame of the stack. This allows clients to know whether the stack trace terminated normally or if it was truncated because the maximum depth was reached. Add a truncation message to the 'stack' command.
This commit is contained in:
@ -131,6 +131,8 @@ type Stackframe struct {
|
||||
|
||||
Defers []Defer
|
||||
|
||||
Bottom bool `json:"Bottom,omitempty"` // Bottom is true if this is the bottom frame of the stack
|
||||
|
||||
Err string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user