mirror of
https://github.com/go-delve/delve.git
synced 2025-11-02 04:36:29 +08:00
Changed api.Variable to have a machine readable value
The new contents of api.Variable are documented in proc/variables.go. Implements #243
This commit is contained in:
@ -195,7 +195,7 @@ starts and attaches to it, and enables you to immediately begin debugging your p
|
||||
}
|
||||
if state.BreakpointInfo != nil {
|
||||
for _, arg := range state.BreakpointInfo.Arguments {
|
||||
args = append(args, arg.Value)
|
||||
args = append(args, arg.SinglelineString())
|
||||
}
|
||||
}
|
||||
fmt.Printf("%s(%s) %s:%d\n", fname, strings.Join(args, ", "), state.CurrentThread.File, state.CurrentThread.Line)
|
||||
|
||||
Reference in New Issue
Block a user