print supports out hex instead of decimal #1563

26 views
Skip to first unread message

Lei King

unread,
May 30, 2019, 2:47:55 AM5/30/19
to delve-dev
  1. What version of Delve are you using (dlv version)?
    Delve Debugger │
    Version: 1.2.0 │
    Build: $Id: 068e2451004e95d0b042e5257e34f0f08ce01466 $

  2. What version of Go are you using? (go version)?
    go version go1.12 linux/amd64 │

  3. What operating system and processor architecture are you using?
    linux

  4. What did you do?
    p x ( x is []byte{})

  5. What did you expect to see?

I want to see the hex, 0x11 0x22

  1. What did you see instead?

I see the decimal 17 34 ...

Reply all
Reply to author
Forward
0 new messages