mirror of
https://github.com/go-delve/delve.git
synced 2025-10-30 02:07:58 +08:00
terminal,service: better printing of suspended breakpoints (#3415)
Show the location expression that will be used to set a suspended breakpoint in the breakpoints list. Also change 'target' called without arguments to print a better error message and 'target follow-exec' without the last argument to print the state of follow-exec.
This commit is contained in:
committed by
GitHub
parent
c1482ca911
commit
db0bc26949
@ -92,6 +92,8 @@ type Breakpoint struct {
|
||||
// FunctionName is the name of the function at the current breakpoint, and
|
||||
// may not always be available.
|
||||
FunctionName string `json:"functionName,omitempty"`
|
||||
// ExprString is the string that will be used to set a suspended breakpoint.
|
||||
ExprString string
|
||||
|
||||
// Breakpoint condition
|
||||
Cond string
|
||||
|
||||
Reference in New Issue
Block a user