Closed BongBongBang closed 6 months ago
Unfortunately, it's not possible to do the conversion in that way. That's a limitation of the go debugger (delve).
However, the default view does "string" conversion as you expand the returned value. Keep expanding the returned value and find string()
field.
yeah, the 'expanding' solution is ok if one of the return value is []byte]
, but indeed , what i met was a readable
.....I cannot watch its value if there is not any process of it....right ?Or, is there any solution?
Is your feature request related to a problem? Please describe. If there is a function return a []byte and a error, how do i process the []byte like string([]byte)? call bytes, _ := function does not work.
Describe the solution you'd like Could store the return in some variable
Describe alternatives you've considered nothing
Additional context nothing.